User menu

Home » Blog 63 » Some handy code for C# / .NET

Some handy code for C# / .NET

check connection:

conn.Open();

var canOpen = conn.State == ConnectionState.Open;

Console output for website project

System.Diagnostics.Debug.WriteLine("You are here...");