Question: Write a C# program to generate 2 Lists of random 5 elements each containing only binary numbers like 1 or 0 only such that there

Write a C# program to generate 2 Lists of random 5 elements each containing only binary numbers like 1 or 0 only such that there is only one 1 in the list in any random position and the rest four elements are zeroes.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!