Friday, 6 September 2013

String to dictionary conversion in c#

String to dictionary conversion in c#

Result string contain input string : 1 2 3 a b c
Expected op:
1 a
2 b
3 c
what I tried :
resultKV=result.Split('\t');
foreach (string KV in resultKV)
{
Console.WriteLine(KV);
}

No comments:

Post a Comment