Tag Archives: Code

LINQ Rules!

I can’t seem to talk up .Net and the use of LINQ in every situation that requires the use of a database, XML, or a collection.  Simple, fast, and elegant! int[] numbers = { 5, 4, 1, 3, 9, 8, … Continue reading

Posted in .Net, C#, LINQ | Tagged | Leave a comment

Lots of code examples

http://www.java2s.com/   This site has it all. Almost.  Java, C#, VB, C, C++, JavaScript, SQL, MySQL, Oracle, PHP, Android, Office Products, and more. The amount of sample code at this site is awesome.

Posted in .Net, C#, computer, Java, software, Technology, Web | Tagged , , , , , | Leave a comment

C# Code Post Test

1: static void AppendTimestamp(string filename, 2: string message, 3: Encoding encoding = null, 4: DateTime? timestamp = null) 5: { 6: 7: Encoding realEncoding = encoding ?? Encoding.UTF8; 8: DateTime realTimestamp = timestamp ?? DateTime.Now; 9: using (TextWriter writer = … Continue reading

Posted in .Net, C# | Tagged , , , | Leave a comment