January 04, 2012 question -property | ||||
|---|---|---|---|---|
| ||||
.property = "test";
.method = "test";
.method("test");
What does -property exactly do?
If you had like a dynamic where you don't know if it's
member is a property or a method. You would choose
method right?
scratch the invalid ones below.
-------------------------------
.property="test";
.property("test");
.method="test";
.method("test");
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply