public static bool condition;
if((++i >= 1) || (condition == false))
if((i++ > 1) && (condition = true))
public static void printSomething()
Console.WriteLine("a = " + a);
Console.WriteLine("b = " + b);
public static Test use(Test b1, Test b2)
public static int count(Test b1, Test b2)
return (b1.a - b2.a) * a;
public static void Main()
Test myTest = new Test();
myTest.a = 3; myTest.b = 7;
Test otherTest = new Test();
otherTest.a = 1; otherTest.b += 5;
Console.WriteLine("Result_1: " + Test.count());
Console.WriteLine("Result_2: " + (t1 == t2));
Console.WriteLine(" " + (t1 == t2));
int x = Test.count(myTest, otherTest);
x += myTest.a + otherTest.a;
Console.WriteLine("Result_3: " + x);