G
Guest
hi
I have created a class with a simple indexer
what is the syntax for adding the function "Remove"
...
myClass.colors["a"]=Color.Black; // WORKS O
myClass.colors["black"].Remove(); // ??
....
ColorCollection _colors=new ColorCollection()
public ColorCollection Color
ge
{
return _colors;
....
public class ColorCollectio
public Color this[string colorName
ge
{
..
se
{
..
thanx ;-)
I have created a class with a simple indexer
what is the syntax for adding the function "Remove"
...
myClass.colors["a"]=Color.Black; // WORKS O
myClass.colors["black"].Remove(); // ??
....
ColorCollection _colors=new ColorCollection()
public ColorCollection Color
ge
{
return _colors;
....
public class ColorCollectio
public Color this[string colorName
ge
{
..
se
{
..
thanx ;-)