Difference between revisions of "User:Mowaw/Sandbox"
From Kerbal Space Program Wiki
Line 5: | Line 5: | ||
'''FRANCE TIME'''(my home) {{#switch:{{CURRENTHOUR}}|23=1|22=0|#default={{#expr:{{CURRENTHOUR}}+2}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/> | '''FRANCE TIME'''(my home) {{#switch:{{CURRENTHOUR}}|23=1|22=0|#default={{#expr:{{CURRENTHOUR}}+2}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/> | ||
'''MEXICO TIME''' (devs) {{#switch:{{CURRENTHOUR}}|4|04=23|3|03=22|2|02=21|1|01=20|0|00=19|#default={{#expr:{{CURRENTHOUR}}-5}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/> | '''MEXICO TIME''' (devs) {{#switch:{{CURRENTHOUR}}|4|04=23|3|03=22|2|02=21|1|01=20|0|00=19|#default={{#expr:{{CURRENTHOUR}}-5}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/> | ||
+ | |||
+ | == C# == | ||
+ | <big> | ||
+ | <syntaxhighlight lang="csharp"> | ||
+ | [KSPAddon[Startup.MainMenu]] | ||
+ | namespace TestCSharpUsingSyntaxHighlightExtension | ||
+ | { | ||
+ | public class FR { get ; set } | ||
+ | if(X == Y) | ||
+ | { | ||
+ | Console.WriteLine(X) | ||
+ | } | ||
+ | } | ||
+ | </syntaxhighlight> | ||
+ | </big> |
Revision as of 13:40, 25 October 2014
Times
FRANCE TIME(my home) 15:41
MEXICO TIME (devs) 8:41
C#
[KSPAddon[Startup.MainMenu]] namespace TestCSharpUsingSyntaxHighlightExtension { public class FR { get ; set } if(X == Y) { Console.WriteLine(X) } }