Predict the output for below simple C# program:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
namespace ConsoleApplication { class Program { static void Main(string[] args) { #if (!pi) Console.WriteLine("i"); #else Console.WriteLine("pi not define"); #endif Console.WriteLine("ok"); Console.ReadLine(); } } } |
Reference books, you may like: Programming WCF Services: Design and Build Maintainable Service-Oriented Systems WCF Multi-Layer Services Development with Entity Framework, […]