What is difference between Convert.ToString(variable) and
variable.ToString()

Answer Posted / hima sijo

convert.tostring handles Null value also where
Variable.tostring wont handle null value.It throw exception

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does a class need a constructor c#?

488


Can you mark static constructor with access modifiers?

554


What is a decimal c#?

472


What is overloading with example?

501


What are the various components in crystal reports?

505






What is console based application?

478


Write a sample code to write the contents to text file in c#?

483


When a Static Constructor is called in a Class?

586


How does the lifecycle of Windows services differ from Standard EXE?

524


What is CLR and its application.?

568


What is serialization and deserialization in c# with example?

456


What is a datacontract?

484


What are Uses of CLR

536


Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

1461


Are constructors inherited c#?

515