Choose correct output for given code

Choose correct output for given code String s1="Kicit"; Console.Write(s1.IndexOf('c') + " "); Console.Write(s1.Length);
  • A. 3 6
  • B. 2 5
  • C. 3 5
  • D. 2 6
  • Correct Answer: Option B
  • Views : 77

  1. Thank you for writing this awesome article. I’m a long time reader but I’ve never been compelled to leave a comment. I subscribed to your blog and shared this on my Facebook. Thanks again for a great article!

  2. It is really a nice and helpful piece of info. I am happy that you just shared this useful info with us. Please keep us informed like this. Thank you for sharing.

  3. I have been browsing on-line greater than three hours today, but I never discovered any attention-grabbing article like yours. It’s pretty value sufficient for me. In my view, if all web owners and bloggers made excellent content as you probably did, the web will probably be a lot more useful than ever before. “Where facts are few, experts are many.” by Donald R. Gannon.

  4. Thanks, I’ve recently been searching for info about this topic for a long time and yours is the greatest I’ve came upon till now. But, what in regards to the conclusion? Are you certain about the supply?

  5. You really make it appear so easy with your presentation however I to find this topic to be really something which I think I might by no means understand. It seems too complicated and very wide for me. I’m looking forward for your next put up, I¡¦ll try to get the grasp of it!

Leave a Reply

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