Always remain updated about current software development trends
sometimes console applications give runtime error when you declare static varialbes, so here is a solution how to deal with it
Tired of generating your command line parsing interface to your apps? Here is yet another CLI tool for helping you do just that.
Simple SMTP E-Mail Sender in C#\u2026 Console application
try{ FileOutputStream fout= new FileOutputStream("stdout.log"); FileOutputStream ferr= new FileOutputStream("stderr.log"); TeeOutputStream multiOut= new TeeOutputStream(System.out, fout); TeeOutputStream multiErr= new TeeOutputStream(System.err,...
A quick and easy way to direct Java System.out to File and to Console.
Builds on existing RunRemote project to run commands on a remote server
I'm not sure that GC would matter very much in such a simple app.But, it's either a call to Dispose on your SmtpClient after you're done using it:smtp.Dispose();or use a using:using (SmtpClient smtp = new SmtpClient{ Host = "smtp.gmail.com", Port = 587,...
c# .net dev intermediate asp.net windows sql beginner silverlight advanced c++ javascript architect sql server wpf mysql html5 mobile c#4.0 jquery