Originally posted by Sarikaa Bhatnagar:
HI,
this is exactly what i understand and this is what is causing confusion.
When a copy of array is passed to f() then i believe there are totol 5 objects.
Please explain!
Originally posted by Tony Smith:
If you don't already have a good idea on whether you are going to pass it or not, it's better you reschedule it. Don't waste your money. Have you been studying hard for at least few months?
Originally posted by dave natx:
Hi Mary,
I believe the issue is literal integers are always implicitly ints so to call a byte constructor with a literal int you would need to explicitly cast it: this((byte)4);
Thanks,
Dave