<int
フォームのコンストラクター (この場合は List >)に渡された項目に基づいて CheckedListBox を作成したいと考えています。
このための私のスケルトンコードは次のとおりです。
foreach (int platypus in listPlatypi)
{
userFriendlyPlatypusName = ExpandFromPlatypusID(platypus);
// I want to store a verbose string in an Item of the CheckedListBox, something like:
// Item item = new Item(userFriendlyPlatypusName); // what data type should "Item" be?
CheckedListBox1.Add(item);
}