Dot Net Capsules

A Capsule on .NET, everyday, keeps you .NetHealthy!!!!

My Photo
Name:

Programmer. Visit my new blog at www.ashishsheth.com

Wednesday, May 20, 2009

What all programmers have in common

A nice post about what all programmers have in common

Labels: , ,

Tuesday, May 19, 2009

C# Null Coalesce operator

Just found that C# has a Null Coalesce operator ??. I was not aware of it earlier.
This is how you can use it:

int? nullInt = null;
notNullInt = nullInt ?? 1;
Console.WriteLine(notNullInt.ToString());


Just Also see here and here for some good info on Nulls.

Labels: , ,

Tuesday, May 5, 2009

8 ways to be a better programmer in 6 minutes.

Some nice tips from programming. Read This: 8 ways to be a better programmer in 6 minutes.

Labels:

Sunday, May 3, 2009

What happens if proper culture is not set while using DateTime

Here is a nice post about why to set a proper culture in your code. See what happens when you use a DataTime without setting a proper culture: Nothing like a Spelling Error on the Title Page

Labels: , ,

You Visitor Number:
Free Web Site Counter
Free Counter
free counters