[ad_1]
Yes, possible, although I am not sure why you need to do it (it is not recommended).
new MyClass().CallMethod();
1
[ad_2]
solved Class instantation and method in same instruction? [closed]
[ad_1]
Yes, possible, although I am not sure why you need to do it (it is not recommended).
new MyClass().CallMethod();
1
[ad_2]
solved Class instantation and method in same instruction? [closed]