Can you create instances for sealed & static classes
you can create instance of sealed class but not in static class.
The below code will help you to distinguish the difference between a sealed class and a static class.You should use .net framework 2.0 to compile and run the code->
namespace
{
}
sealedClass()
a = b = 0;
[
You need the class name to access the members and methods of static class whereas in case of sealed class you can create the instance of it.