This is my awesome c code:
#include <stdio.h>
int main(void) {
   return 0;
}| using System; | |
| namespace System | |
| { | |
| public static class TimesExtensions | |
| { | |
| public static void Times(this byte times, Action cb) | |
| { | |
| times.Times((i) => { cb(); }); | |
| } | 
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace System | |
| { | |
| public class BitArraySegment : IEnumerable<bool> | |
| { | |
| public BitArrayWrapper Array { get; private set; } | |
| public int Offset { get; private set; } | 
This is my awesome c code:
#include <stdio.h>
int main(void) {
   return 0;
}| using System; | |
| using System.Reflection; | |
| using System.Linq; | |
| namespace testing | |
| { | |
| class DynamicDelegate | |
| { | |
| public MethodInfo Method { get; protected set; } | |
| public string Name { get; protected set; } | 
| #include <ncurses.h> | |
| int main(int argc, char **argv) | |
| { | |
| int i; | |
| char buffer[512]; | |
| initscr(); | |
| nonl(); | |
| cbreak(); | 
| using System; | |
| using System.Collections.Generic; | |
| using Manos.IO; | |
| using Meebey.SmartIrc4net; | |
| using SmartIrcBot4net; | |
| namespace Test | |
| { | |
| public class AdminPlugin : IrcBotPlugin | 
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
| <Platform Condition=" '$(Platform)' == '' ">x86</Platform> | |
| <ProductVersion>10.0.0</ProductVersion> | |
| <SchemaVersion>2.0</SchemaVersion> | |
| <ProjectGuid>{34F9CC9C-7FA8-4C7C-B21B-139A0C1B56FD}</ProjectGuid> | |
| <OutputType>Exe</OutputType> | |
| <RootNamespace>ByteBufferCollection</RootNamespace> | 
| using System; | |
| namespace Epoch | |
| { | |
| public class Epoch | |
| { | |
| static readonly DateTime epochStart = new DateTime(1970, 1, 1, 0, 0, 0); | |
| static readonly DateTimeOffset epochDateTimeOffset = new DateTimeOffset(1970, 1, 1, 0, 0, 0, TimeSpan.Zero); | |
| public static void Proposal1(Context context) | |
| { | |
| // Old school C# style! | |
| // Has the ability to actually remove those events afterwards!. | |
| MySqlConnector.Connect(context, "test", "test", "password", (stream) => { | |
| var cmd = stream.Query("SELECT name, surname FROM people where city = 'Aachen'"); | |
| cmd.OnRow += (row) => { | |
| Console.WriteLine("{0} {1}", row.name, row[1]); | |
| }); | |
| cmd.OnEnd += () => { | 
| namespace NiceParsing | |
| { | |
| class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| var packetWrapper = new { | |
| Length = 3, | |
| Number = typeof(byte) | |
| }; |