CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS MICROSOFT C# DETAILS
    Question :
    How do I convert a string to an int in C#?
    Category C# Interview Questions
    Rating (0.5) By 36 users
    Added on 11/22/2011
    Views 200
    Rate it!
    Answers:

    Here's an example: using System;
    class StringToInt
    {
    public static void Main()
    {
    String s = "105";
    int x = Convert.ToInt32(s);
    Console.WriteLine(x);
    }
    }



    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    Why do I get an error (CS1006) when trying to declare a method without specifying a return type?
    View Answer
    How can I get around scope problems in a try/catch?
    View Answer
    How do I get deterministic finalization in C#?
    View Answer
    What does assert() do in C#?
    View Answer
    What is a multicast delegate in C#?
    View Answer
    What is an interface class in C#?
    View Answer
    Describe the accessibility modifier protected internal?
    View Answer
    What does the This window show in the debugger?
    View Answer
    What is the role of the DataReader class in ADO.NET connections?
    View Answer
    What is the wildcard character in SQL?
    View Answer
    Why does my Windows application pop up a console window every time I run it?
    View Answer
    What is the data provider name to connect to Access database?
    View Answer
    What is a pre-requisite for connection pooling?
    View Answer
    Can you override private virtual methods?
    View Answer
    Can multiple catch blocks be executed?
    View Answer
    Does C# support multiple inheritance?
    View Answer
    Can you declare the override method static while the original method is non-static?
    View Answer
    Can you store multiple data types in System.Array?
    View Answer
    Does C# support C type macros?
    View Answer
    Does C# support parameterized properties?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL C# Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.015625 Seconds