You can extend .NET any way you wish. The CLR and most of .NET is open source, or do you keep forgetting that?