Created a class 'IfDemo.cs' that demonstrates the use of the 'If' statment.