Quantcast
Channel: Error encountered when using lambda to change variable values - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Zdenek Barta for Error encountered when using lambda to change...

read only means you can only read :D so try this: private static int _f = a + 5; public static int f { get { return _f; } set { _f = a + 5; } }

View Article


Error encountered when using lambda to change variable values

I'm trying to calculate the values when one variable has another variable in the formula. I've used the lambda approach as suggested by @Rain366, however, this approach has a limitation and I received...

View Article

Browsing latest articles
Browse All 2 View Live