C#.NET Multiple choices


Total available count: 28
Subject - Microsoft Technologies
Subsubject - C#.NET

The float keyword .net framework type?


 

 

 

 



B


Solution:-

System.Single Structure
Represents a single-precision floating-point number.

C# Syntax is as follows:

[Serializable]
public struct Single: IComparable, IFormattable, IConvertible

The Single value type represents a 32-bit number by single-precision with values ranging from negative 3.402823e38 to positive 3.402823e38, as well as positive or negative zero, PositiveInfinity, NegativeInfinity, and not a number (NaN).

Single complies with the IEC 60559:1989 (IEEE 754) standard for binary floating-point arithmetic.

Single provides methods to compare instances of this type, convert the value of an instance to its string representation, and convert the string representation of a number to an instance of this type.




Next 5 multiple choice(s)

1

A float point expression cannot contain the following sets of values...

2

A decimal indicates...

3

If you want a numeric real literal to be treated as decimal, which suffix to be used?

4

What is the default boolean value in C#?

5

What are the pillars of Object-Oriented Programming?

Comments