© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago
Bored Student

Type Inference strategies?

I'm generating Class Definition from XML. And currently I just save the Value strings. But I want stricter validation abilities, so I want to find suitable base types, e.g. detect number types. Do you have any ideas how to go about that efficiently and how to balance strictness vs. information loss in small types ?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Generics and type inference
C#CC# / help
4y ago
Wrong DataContext Inference?
C#CC# / help
15mo ago
Help me stop testing in prod. Suggestions and strategies welcome.
C#CC# / help
3mo ago