What is difference between Convert.ToString(variable) and
variable.ToString()
Answer Posted / sanjib ghosh
Dim salary As Int16
Dim oldSalary As String = salary.ToString()
Dim newSalary As String = Convert.ToString(salary)
MsgBox(oldSalary & "")
MsgBox(newSalary & "")
''No exception throw
both work same function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I do implement a trace?
What is console writeline in c#?
What is the main method?
Describe the process of “exception handling implementation” in c#?
What is the difference between the debug class and trace class? Documentation looks the same.
What is the difference between a method and a property?
Please explain the basic string operations used in c#?
Explain how to implement delegates in c#.net
What are the different types of delegates?
What is sqlconnection in c#?
how to stored and retrive video in Sql server using asp.net c#......?
What is int32 in c#?
Explain different properties of object oriented systems.
What is the meaning of 0 in c#?
List the fundamental oop concepts?