Thread: Public classes
View Single Post
  #5 (permalink)  
Old October 23rd, 2006, 01:18 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You're welcome.

One more thing: I marked the class as static in C# as well. This is actually a .NET 2 feature that allows you to mark an entire class as static which in turns makes the compiler force you to make every method in the class static.

In .NET 1.x you can leave out the static keyword on the class and things will still work.

See you next time then.... ;)

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.