lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the output of the following code fragment?
var array = new BitArray(new byte[] { 1 }); foreach (var bit in array) { Console.Write(Convert.ToInt16(bit)); }
A. 00000000
B. 1
C. True
D. 0
E. False
Links:
BitArray Class
Collections and Data Structures