1.upgrade .net from version 4.0 to 4.5
=>find the .csproj file and and change the version with the tag <TargetFrameworkVersion>.
2.//console array example:
string[] lists = ...;
foreach ( string list in lists)
{console.writeline(list);}
3.
//delete the folder and all files
Directory.Delete(Path,true);
4.
//How to stop C# console applications of closing automatically?
=> delete ReadLine() ,for it waits for [enter]
5.sometimes the problem is u forget clean the project.
=>find the .csproj file and and change the version with the tag <TargetFrameworkVersion>.
2.//console array example:
string[] lists = ...;
foreach ( string list in lists)
{console.writeline(list);}
3.
//delete the folder and all files
Directory.Delete(Path,true);
4.
//How to stop C# console applications of closing automatically?
=> delete ReadLine() ,for it waits for [enter]
5.sometimes the problem is u forget clean the project.