devxlogo

January 30, 2008

What’s New in C# 3.0? Part 2

ith the release of Visual Studio 2008, Microsoft has updated the C# language to its latest version, 3.0. C# 3.0, contains several key language enhancements that support the recently-announced Language

Get the Current Date Using GregorianCalendar

To get the current date, your first instinct is probably to use the java.util.Date class. However, this class has so many deprecated methods that it’s probably best to ignore it.

Changing the Title in a Web Form

In ASP.NET, a web form’s title is determined by the HTML View’s Title attribute. However, there is no property in the default (or any other namespace) that helps you to