Quantcast
Channel: declaring a static type? Help!!
Browsing all 4 articles
Browse latest View live

declaring a static type? Help!!

Hmya, perhaps I didn't explain it well enough.  Please use connect.microsoft.com to provide feedback to the team responsible for the CodeDom namespace. Hans Passant.

View Article



declaring a static type? Help!!

Hi. Perhaps I haven't asked the right question or the right forum? I realize that the 'static' keyword in C# is flagged as 'sealed abstract' in IL, but surely its not too much to ask for the...

View Article

declaring a static type? Help!!

It's not possible, sealed, abstract and partial are the only type attributes supported.  That's not a real problem, static classes are not supported by the CLR either.  Just make all the members...

View Article

declaring a static type? Help!!

This should be easy- how can I make a static type declaration and add it to a CodeCompileUnit?? The CSharpCodeProvider generates 'sealed abstract class' - this obviously won't compile! I'm using...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images