Skip to content

.Net function example

Fredrick Lusako Mwasekaga edited this page Aug 27, 2019 · 1 revision
//Asynchronous
System.IO.File.ReadAllText(System.IO.Path.Combine("path","file.txt"),function(content){
	console.log(content);
})

//synchronize
var content = System.IO.File.ReadAllText(System.IO.Path.Combine("path","file.txt"));
console.log(content);
Clone this wiki locally