Iterate through Enum


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Array lstProvider = System.Enum.GetValues( typeof(CommonShared.EnumProvider));
  2.  
  3. foreach (CommonShared.EnumProvider enProvider in lstProvider)
  4. {
  5.  
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.