In this program, You will learn how to implement the static method in C#.
static void msg(){
//statement
}
using System;
public class Test
{
static void msg()
{
Console.WriteLine("static method is called here");
}
public static void Main(string[] args)
{
msg();
}
}
static method is called here