X
X
xs_fe2022-03-23 21:30:36
C++ / C#
xs_fe, 2022-03-23 21:30:36

How to read the contents of a file in C#?

I need to read the contents of a RAW file on GitHub using C#.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xs_fe, 2022-03-23
@xs_fe

WebClient ws = new WebClient();
string response = ws.DownloadString("url");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question