Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# Methods

namespace ConsoleApp21
{
    internal class Program
    {
        static void Main(string[] args)
        {
            SayHi();
            Console.ReadLine();
        }   
        static void SayHi()
        {
            Console.WriteLine("Hello User");
        }
    }
}   //Must be within internal class curley bracket
Source by # #
 
PREVIOUS NEXT
Tagged: #Methods
ADD COMMENT
Topic
Name
5+2 =