SyntaxFix
Write A Post
Hire A Developer
Questions
Alternatively:
var keys = new List<string>(dicNumber.Keys);