Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

Visual Programing (CS411)

Assignment#01 (GRADED)

  Total marks = 20

                                                                                       Deadline Date = 09-05-2018

Please read all the instructions carefully before attempting the assignment.

You are required to create a C# application Console using Visual Studio.

Problem Statement:

You are required to create a C# Console application which will read a Text File and print it on Console screen:

  1. First the program will ask user for the file path.
  2. Next user is asked for reading the file line by line or ASCII codes of each character.
  3. After displaying the output the user will be asked if he wants to read another file or not.
  4. Same process will be done from step no 1 until user choses to exit.


Note. Proper Exception handling must be done while opening and reading the files.

Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file.

Submission details

Following Files Must be submitted in a single zip or rar file.

·         .C# code file

·         A .gif file which shows working of your Application(For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well)

You are not required to submit the complete project, only copy these three files from project folder. Please note if you submit doc file you will be awarded 0 marks.

Views: 4558


Replies to This Discussion

code share kren. with error screen shot of full screen

Error 1 'System.IO.File' does not contain a definition for 'Readlines' 

Error 2 'System.IO.File' does not contain a definition for 'readAllText'

Error 3 No overload for method 'ReadLine' takes 1 arguments  In 3 errors ka kiya kiya jae please help

 'System.IO.File' does not contain a definition for 'Readlines'
Solution : replace readlines with ReadLines.

 'System.IO.File' does not contain a definition for 'readAllText'
Solution : replace readAllText with ReadAllText

 No overload for method 'ReadLine' takes 1 arguments
Solution : replace ReadLine with WriteLine.

why this rar file is not opening in my system?

Nabeel khan, where is the code file, please help bro

Please Anyone upload the code plzzzzzzzzzzz Help


Is this a complete solution??


ye ap k liye



mery liy b behj dain plz


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service