Browse by Tags

All Tags » Developer » C# (RSS)

My Faq on "hashtable lookups for struct types" is published at http://blogs.msdn.com/CSharpFaq

Check out http://blogs.msdn.com/csharpfaq/archive/2006/03/20/556192.aspx for a FAQ on Hashtable lookup for value types.

My articles on "Anonymous types" is up

Check out http://www.developer.com/net/csharp/article.php/3589916 for my article on " Anonymous Types ", This cool new feature coming in C# 3.0 is surely going to go places. Codeguru also contains the same article at http://www.codeguru.com/csharp/csharp...
Posted by Vipul Patel | with no comments

Guidelines on clean up code

Many a times, we use the catch block inside the try catch block for our clean up code. Something like try { // Do something } catch { // work failed, clean up code here } Rather than the above approach of using the catch block, it would be nicer to use...
Posted by Vipul Patel | with no comments

Visual Studio Service Pack WebSite

Visual Studio.NET Service Packs are due this year, but their site is up already (The site clearly mentions it is still in process) http://msdn.microsoft.com/vstudio/support/servicing/default.aspx Visual Studio 2003 Service Pack 1 ships Q2, 2006 Visual...
Posted by Vipul Patel | with no comments

Visual Studio 2005 - A Guided Tour

Want to learn more about Visual Studio 2005 . MSDN magazine folks have come up with a new issue dedicated solely to the new IDE. Check it out online at http://msdn.microsoft.com/msdnmag/issues/06/00/default.aspx
Posted by Vipul Patel | with no comments
Filed under: , , ,

FYI: System.Web.Mail is deprecated use System.Net.Mail

While we are on the topic of System.Web.Mail , it is important to note a new namespace in version 2.0 of the .NET Framework. There is a brand new namespace for sending mail via managed code, it is called System.Net.Mail . Have no fear, System.Web.Mail...
Posted by Vipul Patel | with no comments

Absolute Beginner's Video Series to Visual Studio 2005 Express Editions

Do you have some students who want to learn Visual Basic .NET or C# on their own? Or perhaps you want to learn them as part of your own professional development. Well if so, Microsoft has a free series of lessons for absolute beginners. They look pretty...
Posted by Vipul Patel | with no comments

Developer Blogs to watch out for

With a plethora of blogs floating on the internet, it is hard to find the blogs which make a difference . Below is a collection of blogs of authors whose books we have read and blogs of people who make the technology. I spent some time to find out such...
Posted by Vipul Patel | with no comments

Express Editions of Visual Studio and SQL Server for free*

Yes, for a limited time (1 year), Visual Studio express editions are going to be free . SQL Server Express editions will be free always. More details at http://msdn.microsoft.com/vstudio/express/ Start downloading folks. Clarifications on the free offer...

.NET Compact Framework v2 is ready for download

.NET Compact Framework v2 is now ready and available for download ! As of today we have the English end-user download and the Platform Builder QFE available. Remaining language downloads will be released in the new few weeks as we get the localized download...
Posted by Vipul Patel | with no comments
Filed under: , , ,

Using intrinsic memory management with C#

Consider the following code snippet // Declare the reader. SqlDataReader reader = null; // Use the reader here. try { // Create the reader. reader = new SqlDataReader(...); // Use the reader. } catch { } finally { // Check the reader for null. If it is...
Posted by Vipul Patel | with no comments
Filed under: , ,

How many threads does a typical managed process have when it just starts to run?

Source: Yun Jin's blog at http://blogs.msdn.com/yunjin Answer: regardless how many threads the user creates, there are at least 3 threads for a common managed process after CLR starts up: a main thread which starts CLR and run user's Main method, CLR...
Posted by Vipul Patel | with no comments
Filed under: , ,

Power Collections for .NET

Did you feel that a powerful Collection library for public domain was missing? Well, its here now... Check out http://www.wintellect.com/powercollections/ A brief description: With .NET 2.0 comes the ability to implement what has been known in C++ as...
Posted by Vipul Patel | with no comments
Filed under: , , ,

VS 2005 all set to launch

Visual Studiuo 2005 is all set to launch in the week of Nov 7, 2005. This was announced in the keynote address at TechEd 2005. Aoccrding to official reports on PressPass site of Microsoft, On the second day of Microsoft ® Tech•Ed 2005, Microsoft...
Posted by Vipul Patel | 2 comment(s)
Filed under: , ,

Random function flaw leads to 'Patient zero'

The computer used to kick-start a global worm outbreak in March 2004 has been traced using crucial kinks in its code. The worm code involved using a random function to generate the next set of targets. Since Randon function provided by operating systems...
Posted by Vipul Patel | 1 comment(s)
Filed under: , ,