Answers for "how to use a function in C#"

C#
-1

functions c#

public void SayHello(string name) 
{
    Console.WriteLine("Hello");
}

public void SayName()
{
	Console.WriteLine("What is your name?");
	string name = Console.ReadLine(); 
	SayHello(name);
}
Posted by: Guest on September-03-2020

Code answers related to "how to use a function in C#"

C# Answers by Framework

Browse Popular Code Answers by Language