How are assemblies involved and useful in Deployment?
What does the System.Diagnostics namespace do? What is the functionality for which it is used.
Latest Answer: The System.Diagnostics namespace provides classes that allow you to interact with system processes, event logs, and performance counters. ...
How will you access private members of a class without using Reflection?
Latest Answer: By Creating Property, for eg: private int x;Now if we want to access it we have to make a propertyPublic int xx{get{return x;}set{x=value;}}Now in main when you create an instance of class then just use that property and access it ...
How Handle error if interface A,B are extended in class C. If class C using one function that is in A Interface if any error occurs in function how do you handle it?
Latest Answer: Interfaces can have function body. If the body of the function is provided you can handle the exception in the function in interface A using try catch statements. OR Handle the exception in class C where the function of interface A is called using try ...
If there are 5 different .net applications running on a single machine,When the Garbage Collector wakes up how does it release the unused resources1)Will there be 5 threads of GC running(1 for each application)?2)Will
Latest Answer: CLR maintains a table content of what are the objects created, what are the tasks running.CLR wont create threads itself. because threads concept have many disadvantages.Based on that table only GC collects on Managed Heap objects. ...
Latest Answer: There is an extention for 1) ASP.NET as .aspx2) VB.NET as .vb3) C#.net as .cs ...
Latest Answer: Hiding of unnecessary data ...
Latest Answer: Partial class allows developers to split a class into multiple files.ex:public partial class A{ A() { //constructor here }}Suppose another ...
Latest Answer: Instances cannot be changed but it can be accessed are called Immutable.Instances can be changed are called mutable. ...
View page [1] 2 3 4 Next >>

Go Top