Interview Questions-.NET Windows Forms

Posted on Leave a commentPosted in .NET, Interview Questions, interviews

Write a simple Windows Forms MessageBox statement. System.Windows.Forms.MessageBox.Show(“Hello, Windows Forms”); Can you write a class without specifying namespace? Which namespace does it belong to by default??Yes, you can, then the class belongs to global namespace which has no name. For commercial products, naturally, you wouldn’t want global namespace. You are designing a GUI application with […]