Feeds:
Posts
Comments

Posts Tagged ‘C#’

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 : [...]

Read Full Post »

.Net 4.0 : Overview on Parallel class

Introduction: In the .Net 4.0 we can find a new class Parallel containing many static methods to help us in parallel programing. System.Threading.Parallel provides one For static method which will be the main point of this article. As a matter of fact at the end of this article you’ll find a link redirecting you in [...]

Read Full Post »

Yesterday, i was facing a curious problem on my form. I have a DateTimePicker control , and when i choose manually the date and i press Enter or Escape, i have an annoying sound. You know, this sound that is heard when Windows displays an error message box. I have bypassed the problem by creating [...]

Read Full Post »

Shallow Copy VS Deep Copy in .Net

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 [...]

Read Full Post »

AMP: Asynchronous Model Programing

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 [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.