Last active
November 11, 2019 22:30
-
-
Save matteobaccan/677bf9832dd4e81b732a75d40bd0660c to your computer and use it in GitHub Desktop.
Test Dictionary class in c#
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
/** | |
* Dictionary Test | |
*/ | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
namespace test { | |
class Program { | |
static private readonly Dictionary<string,string> _valid = new Dictionary<string,string>{ | |
{"one","prrr"}, | |
{"two","gulp"} | |
}; | |
static void Main(string[] args) { | |
Console.WriteLine( _valid.ContainsValue("gulp") ); | |
} | |
} | |
} |
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
::SET PATH=%PATH%;C:\Windows\Microsoft.NET\Framework\v2.0.50727\ | |
SET PATH=%PATH%;C:\Windows\Microsoft.NET\Framework\v4.0.30319\ | |
::SET PATH=%PATH%;C:\Windows\Microsoft.NET\Framework\v3.5 | |
csc test.cs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment