class Program
{
static void Main()
{
if (false)
Console.WriteLine("HI");//Warning.. Never executes this line
Console.ReadKey();
}
}
Compiler Warning
a.cs(6,1): warning CS0162: Unreachable code detected
C# Basic Topics
Console Application
C# Random Topics
Monday, September 13, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment