protected void Page_Load(object sender, System.EventArgs e)
{
int[] IntegerArray = {
1,
2,
3
};
string[] TextArray = ToStringArray(IntegerArray);
string JoinedNumbers = Strings.Join(TextArray, ", ");
}
protected string[] ToStringArray(int[] IntegerArray)
{
string[] NumbersText = Array.ConvertAll(IntegerArray, new Converter(Convert.ToString));
return NumbersText;
}
No comments:
Post a Comment