i have a static class named CommonImage which has properties of static Bitmap thats ready to get . heres my actual class:
public static class CommonImage
{
public static Bitmap AccountConnected { get; }
public static Bitmap AccountDisconnected { get; }
public static Bitmap ArrowDownIcon { get; }
public static Bitmap ArrowUpIcon { get; }
public static Bitmap AutoScrollIcon { get; }
public static Bitmap RSConsDark { get; }
public static Bitmap RSConsLight { get; }
public static Bitmap RSDelDark { get; }
public static Bitmap RSDelLight { get; }
}
what i want to do:
I want to get all properties/Image that startsWith "RS" and store all image in an ImageCollection
.
and if possible no loop like foreach and forloop .