What is the name of the Method which is called to save the changes in a DataSet ?

Tuesday, August 4, 2009


The Method which is called to save the changes in a DataSet is,
AcceptChanges().



www.codecollege.NET

Can we have multiple threads in one App domain ?


Yes.



www.codecollege.NET

What are two different types of remote object creation mode in .NET ?


Object can be created using Remoting in two different ways , they are :
1. SAO (Server Activated Objects)
It is also called as Well-Known call mode. It is stateless.
2. CAO (Client Activated Objects)
It has state.



www.codecollege.NET

What is CAS ?


CAS(Code Access Security) belongs to .NET Security Model and determines whether a piece of code is allowed to run or not and if allowed to run then what resources it can access.



www.codecollege.NET

What are the steps followed by the Garbage Collector ?


1. Mark all the managed memory as garbage
2. Look for used memory blocks, and mark them as valid memory
3. Discard all unused memory blocks
4. Compact the heap



www.codecollege.NET

What is the error that is thrown while a method is written without a return type. ?


Not all code paths return a value.



www.codecollege.NET

Can we apply access modifiers to the methods of an interface?


No.



www.codecollege.NET
Blog Widget by LinkWithin