Last active
September 16, 2021 16:20
-
-
Save chsami/31c90af937f5ec4ba4aede64a43bd604 to your computer and use it in GitHub Desktop.
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
| public class MyService | |
| { | |
| private static Dictionary<string, string> dictionary; | |
| public async Task loadData() | |
| { | |
| dictionary = new Dictionary<string, string>() | |
| { | |
| {"test", "test" } | |
| }; | |
| if (dictionary == null) | |
| Console.WriteLine("Dictionary is full"); | |
| else | |
| Console.WriteLine("Dictionary is empty"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment