Geeks With Blogs

News



Microsoft Store

Support This Site


AddThis Social Bookmark Button

Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

Creative Commons License


Scott Dorman ephemeral segment

I’ve been very “heads down” working on my upcoming book from Sams Publishing, Teach Yourself C# 2010 in 24 Hours, so I haven’t been blogging as much as I usually do. In doing some research for the book, I’ve been taking an in-depth look at the .NET Framework and thought I would share some interesting statistics.

There are 18,435 total types in the .NET Framework 3.5 SP1, with 13,995 classes, 1,216 interfaces, 2,100 enums, and 1,124 structs. The complete breakdown is shown below.

image

Of the 13,995 classes, 303 of them are exceptions. There are 227 public and 76 non-public exceptions. The complete breakdown is shown below.

image

Technorati Tags:
Digg This
Posted on Sunday, September 20, 2009 8:15 PM .NET (General) | Back to top


Comments on this post: Interesting .NET Framework Statistics

# re: Interesting .NET Framework Statistics
Requesting Gravatar...
I love it man!! Keep up the great work! Looking forward to your book! I am still VB'ing it cause no one has shown me why/how C# is better (other than no words).. LOL see what happens when you're not around!?!

Take Care!!

Love your baby's pics on FB!
Left by Russell Fleming on Sep 20, 2009 10:33 PM

# re: Interesting .NET Framework Statistics
Requesting Gravatar...
I am curious: How did you get all these stats? Did you write code to do the calculation or are they from msdn or some other Microsoft sources?
Left by Jay on Nov 03, 2009 12:48 AM

# re: Interesting .NET Framework Statistics
Requesting Gravatar...
Russ: Thanks! You'll just have to come visit and I'll convince you. :) BTW, there are new pics up!

Jay: Yes, all of these stats are from hand written code - all of which does reflection in order to determine the types and what their characterstics are.
Left by Scott on Dec 08, 2009 5:50 PM

Your comment:
 (will show your gravatar)
 


Copyright © Scott Dorman | Powered by: GeeksWithBlogs.net | Join free