This file contains hidden or 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 test | |
{ | |
public void main(string[] args) | |
{ | |
Console.WriteLine("Hello world!"); | |
Console.ReadLine(); | |
} | |
} |
This file contains hidden or 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 ClientWrapperUsage | |
{ | |
public static void main(string[] args) | |
{ | |
using(var clientWrapper = new ServiceClientWrapper<ServiceType>()) | |
{ | |
var response = clientWrapper.Channel.ServiceCall(); | |
} | |
} | |
} |
This file contains hidden or 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; | |
using System.Text; | |
namespace CycleGraph | |
{ | |
public class Node | |
{ | |
public int Id { get; set; } |
This file contains hidden or 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 DynamicTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains hidden or 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 JpgProcessor : MediaTypeFormatter | |
{ | |
public JpgProcessor() | |
{ | |
SupportedMediaTypes.Add(new MediaTypeHeaderValue("application/jpg")); | |
} | |
protected override object OnReadFromStream(Type type, Stream stream, HttpContentHeaders contentHeaders) | |
{ | |
throw new NotImplementedException(); | |
} |
This file contains hidden or 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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var helloB = new HelloB() {PropB = "PropB"}; | |
Console.WriteLine("HelloB.PropB: " + helloB.PropB); | |
HelloA helloA = helloB; | |
Console.WriteLine("HelloA.PropA: " + helloA.PropA); | |
helloA.PropA = "PropA"; | |
Console.WriteLine("HelloA.PropA: " + helloA.PropA); |
This file contains hidden or 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; | |
using System.Text; | |
using System.Threading.Tasks; | |
using NUnit.Framework; | |
using Raven.Abstractions.Data; | |
using Raven.Client.Document; | |
using Raven.Client.Indexes; |
This file contains hidden or 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; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ParallellDemo | |
{ | |
public class Worker |
This file contains hidden or 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; | |
using System.Linq.Expressions; | |
using System.Text; | |
namespace FileGenerator | |
{ | |
class Program | |
{ |
OlderNewer