0

visual example of files I'd want to read

example of a really un-elegant workaround

I have a working copy of a repository where some people haven't been careful.
This working copy sometimes contains directories or files that only differ in case.
Is there a way for me to for example read from File.txt and file.txt whose contents aren't the same?

KroegerBa
  • 1
  • 3
  • Refer : https://stackoverflow.com/questions/4763117/how-can-i-obtain-the-case-sensitive-path-on-windows – Parth Akbari Apr 27 '18 at 10:46
  • So to be clear you want the list of files which have the same name but whose contents aren't same? – Mihir Dave Apr 27 '18 at 11:17
  • My goal is to be able to read the contents off all files. 'File.ReadLines(@"foo.txt");' and 'File.ReadLines(@"Foo.txt");' return the same although they are different files with different contents. – KroegerBa Apr 27 '18 at 11:32

0 Answers0