3
Reply

C# classes

Don

Don

Oct 11 2008 9:19 PM
3.1k
Hi everyone,

I recently started to learn C# and picked up the excellent Head First C# book. One thing I noticed that the book teaches is that the keyword NEW is used to created an instance of a class. I would like to know if you need to use the NEW keyword or if you can't simply create a class, say Example, and then just call Example EX1, instead of doing Example EX1=new Example?

Thanks for any clarification on this


Answers (3)