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/cs_misc/designtechniques/article.php/c11551/ Next...
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 the finally block, something like bool workSuccessful...
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 Studio 2005 Service Pack 1 ships Q3, 2006
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 is still accessible in v2.0 but it is deprecated...
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 good to me. I am sure that may others will find...
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 information and post it so that it will be useful...
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 at http://msdn.microsoft.com/vstudio/express/support...
.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 pages completed. .NET Compact Framework 2.0...
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 not, then // dispose. if (reader != null) { // Dispose...
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 debugger helper thread which provides debugging service...