0

Lets say I have a class called Person, that Id like to make a new instance of. From my testing, both of theese examples work.

var Mike = new Person();

seems to do the same thing as

Person Mike = new Person();

My question is, what is the difference, and which one is "generally better".

0 Answers0