using System;
namespace ArrayApplication
{
class MyArray
{
public MyArray(){
Console.WriteLine("Construtor Invoke");
}
public void myfun(int a){
Console.WriteLine("User Pass the value = "+a);
}
static void Main(string[] args)
{
MyArray obj=new MyArray();
obj.myfun(20);
}
}
}
Post a Comment