WinDev C# puzzle
This is a great WinDev puzzle that was published on Frank Redmond's blog http://blogs.msdn.com/frankred/:
Replace the TBD comment with a single line of code that causes this program to display "Win-Dev!" You cannot modify any of the existing code, or add code above or below the existing code. You can only write one line of code in place of the TBD comment and you cannot use the Console class.
class App {
static void Main() {
// TBD
}
}
sealed class Internal {
sealed class Private {
static void PrintMessage( string s1, string s2 ) {
System.Console.WriteLine(s1 + "-" + s2);
}
}
}
aleksey on 11.12.04 @ 09:44 PM PST [link]