Created
May 4, 2020 08:35
-
-
Save jesuslpm/c15d8f0b1e698f5ebd2b01b2d7a6bd34 to your computer and use it in GitHub Desktop.
List of ThreeColorSet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
namespace ConsoleApp1 | |
{ | |
public class ThreeColorSet | |
{ | |
public Color FirstColor { get; set; } | |
public Color SecondColor { get; set; } | |
public Color ThirdColor { get; set; } | |
} | |
public class MyClass | |
{ | |
public List<ThreeColorSet> GetColorSets() | |
{ | |
return new List<ThreeColorSet> | |
{ | |
new ThreeColorSet | |
{ | |
FirstColor = Color.AliceBlue, | |
SecondColor = Color.Azure, | |
ThirdColor = Color.Aquamarine | |
}, | |
new ThreeColorSet | |
{ | |
FirstColor = Color.Red, | |
SecondColor = Color.Green, | |
ThirdColor = Color.Blue | |
} | |
}; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment