Using the Global Assembly Cache
Libraries which are regularly accessed by more than 1 website should be placed in the Global Assembly Cache (GAC) for improved efficiency.
Where is the GAC folder located in Windows?
C:\WINDOWS\assembly
Where is the gacutil.exe tool?
Framework 1.1 (Visual Studio 2003) : C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Framework 2.0 (Visual Studio 2005) : C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin
Framwork 3.5 (Visual Studio 2008) : C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
How to add an assembly (dll file) to the GAC?
See : http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=106
How to reference an assembly which is already in the GAC in your projects?
If you have a dll which you have put ...
Dot Net Framework and C Sharp releases
For the .NET Framework:
Version
Version Number
Release Date
1.0
1.0.3705.0
2002-01-05
1.1
1.1.4322.573
2003-04-01
2.0
2.0.50727.42
2005-11-07 (C# 2.0 Released)
3.0
3.0.4506.30
2006-11-06
3.5
3.5.21022.8
2007-11-19 (C# 3.0 Released)
What can you do with C# 3.0?
Have a read on these links:
David Hayden
Sahil Malik
Difference between the IS and AS keyword is C Sharp
1) The 'is' keyword returns a boolean value and is true if the object can be cast as the type.
if (p is BondPencil) return; // GET OUT OF HERE!
2) The 'as' keyword is similar to 'is' but 'as' returns a reference to the object if it can be cast or a null reference if it can not be cast.
if (null != p as BondPencil) return; // GET OUT OF HERE!
Taken from a post on Understanding Interfaces.