Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You must specify concrete type.

There was a plan to have "natural type" so "var list = [1,2,3]" would be of type "List<int>" but it was postponed to C# 13 (https://github.com/dotnet/csharplang/issues/5354#issuecommen...)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: