Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
}
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #functions
ADD COMMENT
Topic
Name
9+9 =