2 ms·
I am not familiar enough with java which I assumed was a match for .net. But one line of code in .net. IO.File.ReadAllText(FilePath)
by cm2187 10y ago
I am not familiar enough with java which I assumed was a match for .net. But one line of code in .net.
IO.File.ReadAllText(FilePath)
- zbjornson 10y agoYeah, .net is way nicer than java and your argument holds pretty well in that case.
- fauigerzigerk 10y agoWhat's wrong with new String(Files.readAllBytes(path)); or new String(Files.readAllBytes(path), StandardCharsets.UTF_8); ?