Hi all,can someone show how to ctreate binary file ,using Filestream and rand function Random r = new Random(),then close,open file and read numbers from file and write to the console binary numbers.I see i need the loop structure.Can't find an example.Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.