Skip to content

Instantly share code, notes, and snippets.

View peterthorsteinson's full-sized avatar

Peter Thorsteinson peterthorsteinson

View GitHub Profile
using System;
using System.Collections.Generic;
class Program
{
static void Main()
{
{
var nums = GetArrayOfFirstTenIntegers();
foreach (int n in nums)
{
using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
List<Tuple<string, string>> list = new List<Tuple<string, string>>();
list.Add(new Tuple<string, string>("fruit", "apple"));
list.Add(new Tuple<string, string>("fruit", "peach"));
list.Add(new Tuple<string, string>("vegetable", "carrot"));
using System;
using System.Collections.Generic;
using System.Timers;
class Program
{
static List<Bot> bots = new List<Bot>();
static void Main()
{
Console.CursorVisible = false;
// Starting and Stopping midi playback on multiple threads
using System;
using System.Threading;
using Melanchall.DryWetMidi.Devices;
using Melanchall.DryWetMidi.Smf;
class Program
{
public static Playback playback;
static void Main()
{