Buy Questpond's video subscriptions on
huge discount
.
Online: 434
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
using System;
using System.Text;
using System.Linq;
public class Test
{
public static void Main()
{
Console.WriteLine(new string(
"10100101001"
.Take(5)
.Select(s => s == '0' ? '1' : '0')
.Concat("10100101001".Skip(5))
.ToArray()));
}
}
Posted by
Rajnilari2015
on 1/24/2016 | Category:
C# Interview questions
| Views: 3533 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
01011101001
10100010110
01010101001
01001101001
All Above
It flips the first 5 bits.
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
Suppose we have a table with the values WayPoin ...
Next > :
What will be output of below code? public clas ...
Comments or Responses
Login to post response
More Interview Questions by Rajnilari2015
In RavenDB what does the below statement does? using (var ds = new ...
What is RSS (Rich Site Summary)?
What is RavenDB?
What is Optical character recognition (OCR)?
How to identity what portions of the code block has been covered full ...
What are the various default coloring of Code Coverage?
List out the advantages of Code Coverage
What not is Code Coverage for?
Latest Interview Questions
What will be output of below code? public class MyClass { ...
All processes have at least one thread of executions, which is called?
The CLR will not shutdown an application until all --------- threads h ...
How many types of threads are defined by .NET Framework?
When you create a thread, it is by default which type of thread?
You have recently developed a Class named “ShopList”. The class is hav ...
What is the difference between Dispose() and Finalize() methods?
You have database table named purchaseHistory that contains million of ...
More ...