I need help with a c# script carnt figure out of to say If one variable doesnt equal another variable in c#

I need to know what i can type in C# to say if one variable is not equal to another,
any help would be appreciated. its probably something simple that im just not thinking of.

Thank you

You can just say

if (var1 != var2) {

}

Since ! Means not in c#
And this could easily be found by searching the forum before posting.