Gokul's Blog


Leave a comment

Visual Studio Silent Install

 

I found a couple of interesting articles as I was setting up my new machine

Visual Studio Install: http://mycodelog.com/2010/09/28/silentvs/

sql 2008 silent install: http://mycodelog.com/2010/09/28/sqlsilent/

And also ninite.com is a nice little utility that can be used to install a lot of commonly used applications.

 

 

 

 

 

 

 

 

 

 


Leave a comment

C# Task Library Parallel.Foreach

Sample Usage
var arrayStrings = new string[1000];
Parallel.ForEach<string>(arrayStrings, someString =>
{
    DoSomething(someString);
});


To set the Parallelism
var options = new ParallelOptions { MaxDegreeOfParallelism = 2 };
Parallel.ForEach(dtResult.AsEnumerable(), options, dr =>
		{
		//Do stuff
		});

 


Good Reads: