Hi everyone,
I'm beginner developer in C# ,this is my first post in this forum and I ask to explain this code because I don't understand if statement:
I found this in a course online about C# language ( Codeasy.net).
Thanks and regards,
P.s Sorry for my English, but it's not my first language!!!
I'm beginner developer in C# ,this is my first post in this forum and I ask to explain this code because I don't understand if statement:
C#:
using System;
public class Program
{
public static void Main()
{
if (144 != 12 * 12) {
Console.WriteLine("Math isn't in this world, kid!");
}
else {
Console.WriteLine("Surprise, man!");
}
}
}
Thanks and regards,
P.s Sorry for my English, but it's not my first language!!!
Last edited by a moderator: