Buy Questpond's video subscriptions on
huge discount
.
Online: 1508
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
C#
>
Loading ...
What is the output of below C# code?
string str = null;
str = Convert.ToString(str);
MessageBox.Show(str);
Posted by
vishalneeraj-24503
on 12/20/2013 | Category:
C# Interview questions
| Views: 3745 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
Null
""
Compile-Time error
Run-Time error
All Above
Output will be Null as Convert.ToString() method handles null values.It will not throw any error.
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to add columns in DataTable?
Next > :
What is the output of below C# code? string str ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
What is the output of below C# code? string str = null; str = str. ...
How to stop the Timer in Javascript?
How to start Timer in Javascript?
How to Insert any Item inside List at specified position?
How to Replace any Character or Word in Javascript?
What is the output of below Javascript code? function check_value() ...
What is the output of below Javascript code? function check_value() ...
How to get current Year in Javascript?
Latest Interview Questions
Your developing web application which access data from a MS sql and ha ...
Differences between ISNULL and NULLIF ?
What will be output of following function when called? public strin ...
How to assign a value to a textbox through javascript?
DB2 - Display the employee details who are working from more than 1 an ...
DB2 - Fetch the current date and time in the following format 24/APR ...
DB2 - Find the NAMEs that have an even number of letters in them
DB2 - Find the count of departments having average salary greater than ...
More ...