Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?

929


What is the difference between string and string in c#?

943


What do you mean by stack and heap in c#?

878


What are the different types of classes in c#?

920


Which program construct must return a value?

1018


What is the difference between array and list in c#?

964


Why do we use delegates in c#?

875


What is the default value of string in c#?

971


For read-only operation which property you have to designated?

998


What is difference between class and interface in c#?

886


What does the dispose method do with the connection object?

936


Can you create partial delegates and enumerations?

990


What is serialization and deserialization in c# with example?

861


Can we maintain state in webservice?

930


What is lazy in c#?

901