If we are in test driven development, we need to spend significant amount of time in writing unit tests. In VSTS unit testing framework, every test run create a unique folder in our
What is an immutable object?
By definition immutable object is the object whose state can not be changed after it is created. That means, after creating the object, its publicly exposed members can
Using WebClient class of .Net Framework, we can download file from ftp server in the following way - WebClient request = new WebClient();
request.Credentials = new NetworkCredential(userName, password);
return request.DownloadData(path);
Sometimes it becomes necessary to find out the directory where the current executing assembly is running. Among several ways to do the task , the following code–snippet can be employed to return the
Just sat for the exam 70-503 TS: Microsoft .NET Framework 3.5 - Windows Communication Foundation yesterday. It was really fun to sit for the beta exam though it was pretty long -