![]() Related Questions C# does not support an explicit fall through for case blocks. The following code is not legal and will not compile in C#: switch(x){case 0:// do somethingcase 1:// do something in common with 0default:// Latest Answer : c# switch allows fall through if and only if in empty case. as long as there is a statement in the case it must use break or go to to jump out of the case. ... Make sure that the target type set in the project properties setting is set to Windows Application, and not Console Application. If you're using the command line, compile with /target:winexe & Latest Answer : Compile with following syntax at command line : csc /t:winexe ... Yes, you can use System.Environment.Exit(int exitCode) to exit the application or Application.Exit() if it's a Windows Forms app. Latest Answer : Ans:YesSystem.Environment.Exit(int exitCode) to exit the application or Application.Exit() if it's a Windows Forms app. ... Yes. Try-catch-finally blocks are supported by the C# compiler. Here's an example of a try-catch-finally block: using System;public class TryTest{static void Main(){try{Console.WriteLine("In Latest Answer : Ans:yes ... No, once the proper catch code fires off, the control is transferred to the finally block (if there are any), and then whatever follows the finally block. Latest Answer : No: only one catch block will be executed for an exception. We can write several catch blocks below a try block. When an exception generates all these catch blocks will be scanned sequentially for a matching exception type. It is advised to write catch ... Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly. Latest Answer : Ans:solve by Assembly version ... When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application Latest Answer : An satellite assembly is a (.dll)file which contain localized resources for the application.Satellite assembly is created for each culture.So an application can contain as many satellite based on the currentUI culture setting. ... System.Globalization, System.Resources. Latest Answer : Ans:using System.Threading ; Using System.Globalization ;using System.Resources; ... Attach the aspnet_wp.exe process to the DbgClr debugger. Latest Answer : Ans:Yes, Attach the aspnet_wp.exe process to the DbgClr debugger. ... Yes, if you are debugging via Visual Studio.NET, just go to Immediate window. Latest Answer : Yes. Go to immediate window in VS.net and use >eval var = newvalue ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||