Support for VB.NET's Imported Namespaces feature in C#

Posted by Fred F. on Stack Overflow See other posts from Stack Overflow or by Fred F.
Published on 2010-04-09T08:33:59Z Indexed on 2010/04/09 8:43 UTC
Read the original article Hit count: 363

I am use to VB.NET. The game source code I am learning from is written in C#. I find it annoying that I have to add using System.Diagnostics to the source code in order to type Debug.WriteLine.... I checked under project properties, but I cannot find the References tab that allows me to add namespaces to Imported Namespaces. Where do I find this in C#?

Also, why can't I do this in C#? Imports x = System.Math

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about c#