I agree with Wes and others and I'm doing this only because it's quiet at work and don't have interesting reading material.
Here is your code:
if(Console.ReadLine() == mydesiredValue)
{
}
else
{
Console.Write("Your message goes here.");
}
This stuff is learned in first chapter of many beginner's tutorials.