Software engineer. Been developing C/C++/C# embedded and Windows software for more than 15 years.
Currently working with .Net 4.6 Windows applications in C# 6.0
Get notified when a new post is published.
Very simple but I keep forgetring:
foreach (AnEnum e in Enum.GetValues(typeof(AnEnum)))
As always, feel free to comment, or ask.