Introduction When an assembly has been loaded in an Application Domain, the embeded code can be executed. This code can be executed in the current Application Domain or in another one, we will see how to proceed by differents way. For all the following examples we will use a namespace MyNameSpace containing 2 classes : [...]
Archive for the ‘C#2.0 Exam 70-536’ Category
How to execute code in another AppDomain that the current one
Posted in C# 2.0 Tips, C# 3.0 Tips, C#2.0 Exam 70-536, tagged C# on April 6, 2010 | Leave a Comment »
Shallow Copy VS Deep Copy in .Net
Posted in C#2.0 Exam 70-536, tagged C# on October 4, 2009 |
Introduction : In the .Net Framework there is 2 distincts memory space to store our objects: STACK and HEAP. On the stack is stored value types of .net framework as struct, enum, primitives types…and all what inherit from System.Value. On the heap is stored reference types of .net framework as all object which doesn’t inherit [...]
AMP: Asynchronous Model Programing
Posted in C#2.0 Exam 70-536, tagged C# on September 20, 2009 |
Introduction Developping a multithread application can be realised in several ways. Let’s see about one of these ways : using Asynchronous delegates calls. In this article we will see step by step the interrest of using asynchronous delegates calls, by 4 examples. Ιrst Example : Synchronous delegate call Output : //Waiting for 5 seconds before having [...]