Some confusion regarding the code example in "Don't write to global functions"
user3301 opened this issue · 1 comments
user3301 commented
The code example given showcases a good practice for acquiring a configuration from a string array:
public string[] Config() { return [ "foo" => "bar", ] }
just wondering is this a legit C# syntax as I never seen it before? or just some pseudocode for the demonstration purpose?
thangchung commented
@user3301 I believe that it comes from PHP. I will fix it. Thank you for your findings