Buy Questpond's video subscriptions on
huge discount
.
Online: 1351
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 output of below code?
int character_count = "Dot Net-Funda".Length;
Posted by
vishalneeraj-24503
on 3/13/2014 | Category:
C# Interview questions
| Views: 1676 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Output will be 13.Because Length also count spaces,hyphen or any special characters from within string.So it will count all the characters.Here,the output will be 13.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to check string length in Sql Server?
Next > :
How can we get the length of the string in Dot Net ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
How can we get the length of the string in Dot Net?
What is the return type of length property of string in Javascript?
How can we get the length of the string in Javascript?
What is the use of Panel control in Asp.Net?
How can we use division section in the HTML page?
In which section we define Title Tag in HTML pages?
What is the use of <Title> tag in an HTML file?
In which section(s) we can write Javascript functions in an HTML file?
Latest Interview Questions
Global.asax file can be downloaded via the Url like : www.samplewebsi ...
Global.asax file is mandatory in an application. True or False
How to stop flickering while the gets loaded in IE?
How to perform multiple file input?
Can multiple catch blocks that correspond to a single try block execut ...
How can you get the extension from a File upload control ?
How to perform sum of digits from 1 to n in javascript?
How can a user assign a property dynamically in javascript and generat ...
More ...