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; | |
class Program | |
{ | |
static void Main() | |
{ | |
{ | |
var nums = GetArrayOfFirstTenIntegers(); | |
foreach (int n in nums) | |
{ |
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; | |
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")); |
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.Timers; | |
class Program | |
{ | |
static List<Bot> bots = new List<Bot>(); | |
static void Main() | |
{ | |
Console.CursorVisible = false; |
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
// 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() | |
{ |
OlderNewer