George George
Hello everyone,
Since DateTime is struct other than class, each time when we use DateTime abc = DateTime.Now, there are two copies of DateTime structs?
1.
One instance is created by DateTime struct internally, which represents the current time, and another instance is copied from the internal instance to the value type variable abc when we perform assignment operation?
2.
I think the internal instance is a waste? Since it is useless when the value is copied to variable abc?
thanks in advance,George