TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
taks kamps
NA
39
7k
method overloading
Dec 15 2018 7:46 AM
i want to Write a method called DisplayGreeting that writes "Hello, World!" to the console.
Then overload the DisplayGreeting method to allow the code to compile.
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
DisplayGreeting();
string name = "Simon";
DisplayGreeting(name);
}
}
}
Reply
Answers (
3
)
Modal Popup/BootStrap
Visual Studio 2017 build error for .net core 2.1