Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008 creating new classes?

I upgraded to Visual Studio 2008 and for some reason when I create new class files, it loads a completely blank file as opposed to giving me the basic using code and the list of the class name (being the file name).

So if I create a new code file called Order.cs, it is no longer put in by default:

using system;

public class Order
{
}

Is this a Visual Studio user preference?

like image 856
leora Avatar asked Dec 03 '22 07:12

leora


1 Answers

You mentioned in the comments you were pressing "New->Code", dont, thats supposed to be blank. click Add>NewItem>Class , Make sure its a "Class" you select not just a code file.

like image 90
Fusspawn Avatar answered Apr 01 '23 17:04

Fusspawn