Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 29128

The Enum changed to int: How do you convert the int back to a name?

$
0
0
I wrote a tool that loaded some binary data and displayed it in a nice form, where the user could browse the data, sort by various columns, filter, export, etc. The tool relied on the fact that a column of the data contained an integer ID indicating the type of item. For our purposes, let’s say that column was the name of a City. Seattle could be 1, Boston=2, etc. There were thousands of items, as there are thousands of Cities. The binary data stored the integer, and the tool translated that number...(read more)

Viewing all articles
Browse latest Browse all 29128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>