methods in c#
1> value parameter using System; using System.Collections.Generic; using System.Linq; using System.Text; non static methond > namespace Cshap { class Program { static void Main(string[] args) { int i = 0; int j = 0; Program p = new Program(); p.simplemethod(j); //calling to simplemethod by passing value 1 Console.WriteLine(i); //3 Console.WriteLine(j);//4 Console.Read(); } public int simplemethod(int j) //call it then folow goes to the static method 2 { ...