Wriju's BLOG

.NET, Cloud and everything

Parallel Computing: The new “Task” API

Visual Studio 2010 has new API called “Task”. This helps us to create small pieces of work and execute in distributed manner under multi core machine. Unlike thread it has flexibility to adopt the lower number of CPU without changing code. With improved CLR thread pool local processes are not confined in local thread pool… Read more

Seven Things to Know about Windows 7

1) Simple to Use. The Snap feature arranges windows side-by-side by dragging programs. You can then pin your favorite programs to the Windows Taskbar. Finding often-used programs and files is easier with Windows 7. The streamlined user interface includes a cleaner desktop and task bar. Using the Jump Lists feature, you can place the cursor… Read more

Visual Studio 2010 Beta 2

I have installed the Beta 2 of Visual Studio 2010. I love its splash screen Go get it and enjoy!!! Find more information at http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx MSDN Subscribers: Download the Beta The Visual Studio 2010 and .NET Framework Beta 2 is available to MSDN subscribers on Monday, October 19th, with general availability on October 21st. How… Read more

VB.NET 10 : Nullable Optional Parameter

You can create method with optional parameter and also make them Nullable. Optional with default value Sub Test(ByVal _name As String, ByVal _email As String, Optional ByVal _age As Integer = 30)   Optional and Nullable Sub Test(ByVal _name As String, ByVal _email As String, Optional ByVal _age As Integer? = Nothing) Similarly you also… Read more

VB.NET 10 : Collection Initializer

Another useful feature which was missing in VB.Net 9 is available in Visual Studio 2010. This provides option to declare and initialize with series of values with the keyword Form. Dim myList As New List(Of Integer) From {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}   For Each i In myList     Console.WriteLine(i)… Read more