To create a simple example of a WCF (Windows Communication Foundation) service with a callback interface and a method that accepts two parameters (name and value), follow these steps. This example consists of defining the service contract, implementing the service, configuring the host, and then creating a client that uses the service.
An error has occurred in the script WebBrowser WinForm
Slider Thumb DragCompleted Event WPF
Occurs when the Thumb control loses mouse capture.
The following example shows how to assign an event handler for the DragCompleted...
Just write this line :
System.IO.Directory.CreateDirectory(myDir);
If the folder does not exist yet, it will be created.
If the folder exists already,...
Const vs Readonly
Const
The value of your const property is set at compile time and can’t change at runtime. Where the const is used in...


