public static string GetbootstrapColorRandom() { Random r = new Random(); BootstrapColorEnums randomcolor = (BootstrapColorEnums)r.Next(0, 4); return(Enum.GetName(typeof(BootstrapColorEnums), randomcolor)); }
public static string GetbootstrapColorByTag(BootstrapColorEnums colortag) { return(Enum.GetName(typeof(BootstrapColorEnums), colortag)); }
public static string GetbootstrapColorRandomByCounter(int i) { BootstrapColorEnums randomcolor = (BootstrapColorEnums)(i % 5); return(Enum.GetName(typeof(BootstrapColorEnums), randomcolor)); }