Discussion :: Strings - C#
-
Which of the following snippets are the correct way to convert a Single into a String?
Single f = 9.8f; String s; s = (String) (f);
Single f = 9.8f; String s; s = Convert.ToString(f);
Single f = 9.8f; String s; s = f.ToString();
Single f = 9.8f; String s; s = Clnt(f);
Single f = 9.8f; String s; s = CString(f);
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment