J
John Salerno
Actually, I feel like my knowledge goes beyond this question, but it's
still something I wonder about. Why, when you declare variables such as
int x = 5;
or
string word = "Hello";
do you not use the 'new' keyword? Are these not objects? Or is there
something implicit about them that uses the new keyword? Or is the new
keyword used for something other than this? (I know when it *is* used,
but not necessarily why it isn't used in some cases.)
Thanks.
still something I wonder about. Why, when you declare variables such as
int x = 5;
or
string word = "Hello";
do you not use the 'new' keyword? Are these not objects? Or is there
something implicit about them that uses the new keyword? Or is the new
keyword used for something other than this? (I know when it *is* used,
but not necessarily why it isn't used in some cases.)
Thanks.