I have an int array with the value 3,99,6. How do i convert the array into the string 3,99,6 with linq?
I have an int array with the value 3,99,6. How do i convert the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit, C# 4.0
With C# 4.0, there is another overload of
string.Join, which finally allows passing anIEnumerable<string>orIEnumerable<T>directly. There is no need to create an Array, and there is also no need to callToString(), which is called implicitly:With explicit formatting to string: