.net - Can I specify a meaningful name for an anonymous class in C#? -
We all know that when we create an anonymous class like this:
var Employee = new {id = 5, name = "Pacific"}; ... This will be the type of time running:
Is there a way to specify meaningful names for such classes?
public class employee {}
Comments
Post a Comment