@increpare Yes you can - you need to make that constructor reference the base constructor for the type by adding ": this()"
And today I learned that you can't always just turn a member variable into an accessor in C# http://pastebin.com/E5JktzEh . Baffling!
-
-
-
@Abashizali right, but is there a reason? - 5 more replies
New conversation -
-
-
@increpare what happens if your field is called I (uppercase i) and you drop the “this”? -
@RavineGZ same error. - 1 more reply
New conversation -
-
-
@increpare related to the fact that structs are value type and “this” is reference type-ish? (it’s late, and don’t have access to docs) - 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.