Formatting enums using ICustomFormatter(blog.kjeldby.dk)
submitted by
stenbaek(545) 2 years, 11 months ago
C# enums are named constants, making code easier to write and read. But the enum names should not be written to the UI. This post shows two methods of formatting an enum to a string suitable for the UI.
|category: C#
|Views: 33
tags:
C# another
Everyones tags:
Your Tags: