Welcome to the world of C# programming. Since you are new, you should concentrate on understanding the basics and syntaxes in C# programming instead of directly jumping to programming.
Your lesson for today is - C# is a case-sensitive language. So a 'If' is not equal to 'if'
C# syntax for 'if' statement is
if(<<condition that evaluates to bool>>)
{
}