1 questions from the last 7 days
-7
votes
0
answers
54
views
Difference between object initialization methods? [duplicate]
What's the difference between initializing an object by passing in variables to the constructor or through the brackets? What would be the proper use case of either method?
public class MyClass()
{
...