DEV Community

Discussion on: How can I store all kinds of number in the same variable in C#?

Collapse
 
thefern profile image
Fernando B 🚀

I think what you're looking for is Generics.

docs.microsoft.com/en-us/dotnet/ap...