Box Class Static Static Method External Class C# with Example
using System; namespace CSharpClass{ class StaticMethod{ public static int add(int x, int y){ return x+y; } } class UsingStaticMethod { static void Main(String[] arg){ int total = StaticMethod.add(10, 20); Console.WriteLine("Total of 10+20: " + total); } } }