Question for Practice 5
Dart File Handling Practice Questions
- Write a dart program to add your name to “hello.txt” file.
- Write a dart program to append your friends name to a file that already has your name.
- Write a dart program to get the current working directory.
- Write a dart program to copy the “hello.txt” file to “hello_copy.txt” file.
- Write a dart program to create 100 files using loop.
- Write a dart program to delete the file “hello_copy.txt”. Make sure you have created the file “hello_copy.txt.
- Write a dart program to store name, age, and address of students in a csv file and read it.