Design Patterns are best proven techniques for a common design problem. It is only a design technique and not code. Though code is available for almost all design patterns in all popular languages, design patterns mean the design technique alone.Each design pattern explains a repeated problem, gives standard solution to the problem.
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.
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.
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