Code 39 Mod 43 barcode checkdigit function

Have to find the original code, the code is wrong. [sourcecode language="csharp"] //pass in a string and returns string with check digit public string getCode39Mod43(string s) { int sum = 0; string temps = s.ToUpper(); for (int i = 0; i < s.Length; i++) { sum += AsciiToCharTable(temps[i]); } int mod = sum % 43; [...]

Thread safe C# logging class using the Singleton Pattern

[sourcecode language="csharp"] using System.Web; using System.IO; using System.Configuration; namespace Logger { /// <summary> /// Summary description for Logger. /// </summary> public class Logger { private static System.IO.StreamWriter _Output = null; private static Logger _Logger = null; private static Object _classLock = typeof(Logger); public static string _LogFile = ""; public static int _LogLevel = 1; private [...]