+ 1
[C#] Is there alternative to the member initializer lists from C++ ?
Hi guys. I searched a lot in internet but found no information about it. Could someone tell me if there is an alternative to the member initializer lists (from C++) in C# ?
1 Réponse
0
Hi, according to my knowledge, c# doesn't support this feature. Just for setting default values, you can set them in declaration statement.