Buy Questpond's video subscriptions on
huge discount
.
Online: 1221
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 will be the length of string type variable which is just declared but not assigned any value?
Posted by
Virendradugar
on 1/5/2010 | Category:
C# Interview questions
| Views: 5081
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
As variable is not initialized and it is of reference type. So it's length will be null and it will throw a run time exception of "System.NullReferenceException" type, if used.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
What is the difference between the value-type vari ...
Next > :
What's the difference between the Debug class and ...
Comments or Responses
Login to post response
More Interview Questions by Virendradugar
What is the difference between document.getElementById('<%= btnMake ...
How can you set position of the page (Top and Left) to 0 using Javascr ...
MaintainScrollPositionOnPostback will work in Ajax Postback.
What is other equivalent option of document.getElementById() when you ...
You are going to deploy a website on live server. Which build option y ...
Your site is deployed on testing server and you make some change in we ...
I have a table with 10 columns. I need to display name column as textf ...
What is AjaxControl ToolKit?
Latest Interview Questions
What's the difference between the Debug class and Trace class?
How does CAS work?
How does assembly versioning work?
Why string is called Immutable data Type?
What is side-by-side execution? Can two application one using private ...
What is the use of @@IDLE in Transact-SQL?
What is the purpose of @@LANGUAGE statement?
Illustrate Server.Transfer and Response.Redirect?
More ...