Quiz 4 – Easy WCF
Skip to content

Quiz 4

Predict the output for below simple C# program:

C# Puzzle


© 2015 – 2016, admin. All rights reserved.

9 thoughts on “Quiz 4

  1. Pingback: Top 10 Popular & Tricky C# Puzzles in 2015 (Worth Trying !!!) – Easy WCF

  2. Prashant Patil says:

    Although C# does not print the answer, mathematically it is wrong. 0 power 0 is 1 and not 0. This makes me suspect the bug in C# too.

    Reply
  3. Alexey Dovgan says:

    Nothing will be writen.

    b1=false  – is false. false XOR false is flase  so if(false|false)….

    Reply
  4. satish kumar vadlavalli says:

    b1=false is assignment operator, it should be b1==false

    Reply
  5. Ramu says:

    Boolean b1 = true; b2 = false;

    Showing error b2 doenot extitis

    Reply
  6. Niraj says:

    Guys, if you compile the code in visual studio and answer the ques then there is no fun. This quiz is all about predicting the answer by looking at code snippet.

    Am I right admin?

    Reply
    • admin says:

      Yes. Test your skill without visual studio.

      Reply
  7. test says:

    asdfsfadsfasdfasddfdfdfdfdffdsf

    asdffadsf
    sadfdsfsad
    sadfasdf

    Reply
  8. Pingback: Best 25 .net articles on the web in 2015 (Worth Reading !!!) – CsharpStar

Leave a Reply to satish kumar vadlavalli Cancel reply

Your email address will not be published. Required fields are marked *