CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS MICROSOFT C# DETAILS
Question :
What is the C# equivalent of System.Single





Category C# Interview Questions
Rating (5.0) By 23 users
Added on 7/28/2006
Views 663
Rate it!
Answers:

Ans: Float 32 bit

e.g. float i = 6.8F; // or 6.8f

By default, a real numeric literal on the right-hand side of the assignment operator is treated as double. Therefore, to initialize a float variable use the suffix f or F.

If you don't use the suffix in the previous declaration, you will get a compilation error because you are attempting to store a double value into a float variable.





If you have the better answer, then send it to us. We will display your answer after the approval.
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
What does the volatile modifier do

View Answer
Is it possible to Override Private Virtual methods

View Answer
How can you sort the elements of the array in descending order

View Answer
What is the order of destructors called in a polymorphism hierarchy

View Answer
What is the use of fixed statement

View Answer
Can static methods be overridable?

View Answer
In C# a technique used to stream the data is known as




View Answer
How to implement multiple inheritence in C#

View Answer
In the following cases which is not function overloading

View Answer
What is an indexer in C#

View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL C# Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/8954/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.75