namespace CuriousTabConsoleApplication { class Sample { public static void fun1() { Console.WriteLine("CuriousTab1 method"); } public void fun2() { fun1(); Console.WriteLine("CuriousTab2 method"); } public void fun2(int i) { Console.WriteLine(i); fun2(); } } class MyProgram { static void Main(string[ ] args) { Sample s = new Sample(); Sample.fun1(); s.fun2(123); } } }
Tab1 method
123
Tabl method
Tab2 method
Tab1 method
123
Tab2 method
Tab2 method
123
Tab2 method
Tabl method
Tabl method
123
Tab2 method
123
Tabl method
Tab1 method
123
Tabl method
Tab2 method
class Sample
{
public int Length
{
set
{
Length = value;
}
}
}
class Sample
{
int len;
public int Length
{
get
{
return len;
}
set
{
len = value;
}
}
}
class Sample
{
int len;
public int Length
{
WriteOnly set
{
len = value;
}
}
}
class Sample
{
int len;
public int Length
{
set
{
len = value;
}
}
}
class Sample
{
int len;
public int Length
{
set
{
len = value;
}
}
}
Console.WriteLine(13 / 2 + " " + 13 % 2);
int[][]intMyArr = new int[2][]; intMyArr[0] = new int[4]{6, 1, 4, 3}; intMyArr[1] = new int[3]{9, 2, 7};
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.