10

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

 3 years ago
source link: https://dev.to/baenencalin/how-can-i-store-all-kinds-of-number-in-the-same-variable-in-c-4bi6
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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

Jan 10

・1 min read

Is there a C# equivalent of Java's Number class?
Is there a way to store multiple kinds of numbers in a single variable in C#?

Thanks!
Cheers!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK