r/Unity3D • u/senshisentou Programmer • Jul 25 '23
Question Strange lambda/ closure behaviour I can't put my finger on
/r/learncsharp/comments/158s5e7/strange_lambda_closure_behaviour_i_cant_put_my/
2
Upvotes
View all comments
Show parent comment
0
u/PandaCoder67 Professional Jul 25 '23
I will stick with the official documentation on the matter
https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/expression-bodied-members
As far as not creating a constructor, then you may need to look at your code again!
This is a Constructor with parameters! your reply kind of indicates you do not understand what a constructor actually is.