Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. using
  2.  
  3. using
  4.  
  5. using System.Drawing;
  6.  
  7. spriteArray = new Color[2,2]
  8. {
  9. { Color.Red, Color.Blue },
  10. { Color.Blue, Color.Red }
  11. };
  12.  
  13. using System.Drawing;
  14.  
  15. ...
  16. spriteArray = new Color[2,2]
  17. {{Color.Red, Color.Blue},
  18. {Color.Blue, Color.Red}};
  19.  
  20. using SysDraw = System.Drawing;
  21. ...
  22. spriteArray = new SysDraw.Color[2,2]
  23. {{SysDraw.Color.Red, SysDraw.Color.Blue},
  24. {SysDraw.Color.Blue, SysDraw.Color.Red}};
  25.  
  26. using System.Drawing;
  27. //...
  28. private static readonly Color Red = Color.Red, Blue = Color.Blue;
  29. //...
  30. spriteArray = new[,] {
  31. { Red, Blue },
  32. { Blue, Red },
  33. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement