// break the string into array of characters (using linq )
string word = "MADAM";
var stringarr = word.Select(x => x).ToArray();
var stringarr = word.Select(x => x).ToArray();
================================================================================
//convert the array of string to String
var str = new string(charArray);
================================================================================
What are the various Generic collections in dot net.
>> Array, lists, dictionaries,
No comments:
Post a Comment