Does D has C#'s string.Empty?

SlomoTheBrave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 24 23:41:01 PDT 2014


On Thursday, 25 September 2014 at 05:29:37 UTC, AsmMan wrote:
> Does D has C#'s string.Empty?

string.init ?

----
     string a;
     a = string.init;
     assert( a == "");
----

does the job for the type string at least.



More information about the Digitalmars-d-learn mailing list