Skip to content

Instantly share code, notes, and snippets.

@sevperez
Last active September 4, 2018 20:19
Show Gist options
  • Save sevperez/a91750f497ededbf515e81e4c224d6d4 to your computer and use it in GitHub Desktop.
Save sevperez/a91750f497ededbf515e81e4c224d6d4 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
string[] particles = new string[] { "electron", "proton", "neturon", null, null };
particles.SetValue("muon", 3);
particles.SetValue("photon", 4);
foreach (string particle in particles)
{
Console.WriteLine(particle);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment