Created
August 1, 2014 13:04
-
-
Save mrlacey/5c3e76cad5e8940f287e to your computer and use it in GitHub Desktop.
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
// CAREERS AT CONTOSO - TRIAL #2 | |
// TITLE: Punch Card Puzzle | |
// AUTHOR: Vogel | |
// DESCRIPTION: Send screenshot of su ccessful output to @contosoishiring | |
<x:Code><![CDATA[private void mutYUUJ U7(object ksn8879, RoutedEventArgs khJJUh3){ | |
System.Collections.Generic.Dictionary <int, Color>RX99RTOOUKL = new System.Collections.Generic.Diction | |
ary<int, Color>(); | |
RX99RTOOUKL.Add(0, Color.FromRgb(0, 0 , 0));RX99RTOOUKL.Add(1, Color.FromRgb(255, 255, 255)); | |
RX99RTOOUKL.Add(2, Color.FromRgb(224, 64, 64));RX99RTOOUKL.Add(3, Color.FromRgb(96, 255, 255)); | |
RX99RTOOUKL.Add(4, Color.FromRgb(224, 96, 224));RX99RTOOUKL.Add(5, Color.FromRgb(64, 204, 64)); | |
RX99RTOOUKL.Add(6, Color.FromRgb(64, 64, 224));RX99RTOOUKL.Add(7, Color.FromRgb(255, 255, 64)); | |
RX99RTOOUKL.Add(8, Color.FromRgb(224, 160, 64));RX99RTOOUKL.Add(9, Color.FromRgb(156, 116, 72)); | |
RX99RTOOUKL.Add(10, Color.FromRgb(255 , 160, 160));RX99RTOOUKL.Add(11, Color.FromRgb(84, 84, 84)); | |
RX99RTOOUKL.Add(12, Color.FromRgb(136 , 136, 136));RX99RTOOUKL.Add(13, Color.FromRgb(160, 255, 160)); | |
RX99RTOOUKL.Add(14, Color.FromRgb(160 , 160, 255));RX99RTOOUKL.Add(15, Color.FromRgb(192, 192, 192)); | |
StackPanel RGfoiEhn88 = new StackPane l() {Width = 320, Height = 216, Orientation = Orientation.Vertical }; | |
System.Collections.Generic.List<int> lmkhHHHSonrnh987 = new System.Collections.Generic.List<int>();stri | |
ng sDwIHNNJKN = string.Empty; | |
for (int i = 0; i < 16; i++){lmkhHHHS onrnh987.Add(100jkhhsn()); | |
RGfoiEhn88.Children.Add(new Grid() { Width = double.NaN, Height = 12, | |
HorizontalAlignment = System.Windows. HorizontalAlignment.Stretch, | |
Background = new SolidColorBrush(RX99 RTOOUKL[lmkhHHHSonrnh987[i]]) }); | |
sDwIHNNJKN += (i < 15) ? lmkhHHHSonrn h987[i].ToString() + ":" | |
: lmkhHHHSonrnh987[i].ToString();}Tex tBlock TB1 = new TextBlock() { Height = 12, | |
HorizontalAlignment = System.Windows. HorizontalAlignment.Center, | |
Text = sDwIHNNJKN };TextBlock TB2 = n ew TextBlock() { Height = 12, HorizontalAlignment | |
= System.Windows.HorizontalAlignment. Center, Text = DateTime.Now.Ticks.ToString() }; | |
RGfoiEhn88.Children.Add(TB1);RGfoiEhn 88.Children.Add(TB2);LayoutRoot.Children.Add(RGfoiEhn88);} | |
Random cs00jhs = new Random(DateTime. Now.Millisecond); | |
int 100jkhhsn(){return cs00jhs.Next(0 , 15);}]]></x:Code> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment