Created
September 11, 2018 14:16
-
-
Save csharpforevermore/8b68755a0f596fdf76966e784c097b23 to your computer and use it in GitHub Desktop.
Retrieve all keys in a HashTable
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
string keys = string.Join(",", table.Keys.Cast<object>() | |
.Select(x => x.ToString()) | |
.ToArray()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/3404869/retrieve-all-keys-in-a-hash-table-into-a-string