I have query regarding File.ReadLines() and File.ReadAllLines().what is difference between them. i have text file where it …