Visual Basic (Declaration) | |
---|---|
Public Property Palette As Color() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color[] Palette {get; set;} |
C# | Copy Code |
---|---|
Color[] MyColorObjectArray = new Color[3]{Color.Red,Color.Blue,Color.Yellow}; |
Visual Basic | Copy Code |
---|---|
Dim MyColorObjectArray() As Color = {Color.Red,Color.Blue,Color.Yellow} |