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
"D039LL9" | |
"" | |
"" | |
"| ***R1*** " | |
"| " | |
"| ***Z1*** rise " | |
"|------------| " | |
" |0---------->|" | |
" ***I1*** ***DR*** " | |
"END" |
This file has been truncated, but you can view the full file.
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
Microsoft (R) Build Engine version 15.1.458.808 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
C:\Program Files\dotnet\sdk\1.0.0-preview4-004233\MSBuild.dll.exe /Logger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\1.0.0-preview4-004233\dotnet.dll /m /t:Build /v:m /verbosity:diag .\netcoretest.csproj | |
Build started 16/12/2016 7:41:20 PM. | |
Environment at start of build: | |
ConEmuConfig = | |
PLINK_PROTOCOL = ssh | |
DISPLAY = needs-to-be-defined | |
CscToolExe = C:\Program Files\dotnet\sdk\1.0.0-preview4-004233\RunCsc.cmd |
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
public class SuggestionBox : Control | |
{ | |
static SuggestionBox() { DefaultStyleKeyProperty.OverrideMetadata(typeof(SuggestionBox), new FrameworkPropertyMetadata(typeof(SuggestionBox))); } | |
public static DependencyProperty SelectedItemProperty = | |
DependencyProperty.Register("SelectedItem", typeof(string), typeof(SuggestionBox), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, (d, bv) => (d as SuggestionBox).OnSelectedItemChanged())); | |
public string SelectedItem | |
{ | |
get { return (string)GetValue(SelectedItemProperty); } |
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.Dynamic; | |
class LookImUsingRuby | |
{ | |
static void Main(string[] args) | |
{ | |
var x = new { Foo = 1, Bar = "data" }; // anonymous object! | |
Console.WriteLine(x.Foo); // this is type-checked because within this method, we know Foo exists |
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; | |
class A | |
{ | |
public string ToUpper() => "A"; | |
} | |
class Program | |
{ | |
static void Main(string[] args) |
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.Linq; | |
namespace ConsoleApplicationList | |
{ | |
class Program | |
{ | |
static IEnumerable<long> BuildLatticeRow(int size) | |
{ |
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; | |
interface IFoo | |
{ | |
void Do(); | |
} | |
class A : IFoo | |
{ | |
public void Do() {} | |
} |
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; | |
class A {} | |
class B : A {} | |
class Badarray | |
{ | |
static void Main(string[] args) | |
{ | |
var x = new A[2]; |
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.IO; | |
using System.Linq; | |
class Euler | |
{ | |
static void Main(string[] args) => Console.WriteLine( | |
File.ReadAllText("./p022_names.txt") | |
.Replace("\"", "") |
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.IO; | |
using System.Linq; | |
class Euler | |
{ | |
static void Main(string[] args) => Console.WriteLine( | |
File.ReadAllText("./p022_names.txt") | |
.Replace("\"", "") | |
.Split(',') |