Code

C++/CLI Shell Exercise Code

A number of years ago, I was helping someone on DaniWeb with some code that was (probably) more than they expected. I never got closure on the code because it seemed the requester didn’t understand to use Visual Studio. ANYWAY: I recently revisited that code and realized how differently I would have done things if I created it today. It’s like that old cartoon from NotInventedHere.com on 4/20/2010 where one character can’t stand to see his old code: Well, I had the same reaction to mine (as I frequently ......

Playing With Any vs. Count() greater-than 0 in .Net (Enumerable Extensions)

A visual example of how Any() differs from Count() > 0 in .Net

Using a Predicate as a key to a Dictionary

Using a Predicate as the key to a Dictionary. Eventually creating a program that has no if-statements or for-loops.

Linq Challenge in C++

Taking what seems to be a simple LINQ task (in C#) and converting it to C++.

Programming Forums

Here is a list of programming forums I visit for: Seeing what programmers are currently learning Seeing what makes programmers struggle Answering programming questions Asking programming questions The sites require (free) registration and, in different ways, keep track of points you earn for participation as well as a reputation score. Here they are in no specific order: http://www.daniweb.com http://social.msdn.microsof... http://stackoverflow.com/ http://stackexchange.com/ http://www.experts-exchange... ......

Releasing Email File Attachment Resources (System.Net.Mail)

Lesson learned about releasing attachment resources with System.Net.Mail.

GridView from LINQ to Objects

A technique for displaying results from LINQ to an ASP.NET GridView.

ResponseStatusLine protocol violation

This is an example of how to get around the ResponseStatusLine protocol violation in multiple .NET languages and in the app.config file.

Playing with Enumerable.Range (System.Linq)

Here's an example of something fun and useful with Enumerable.Range in four different languages.

Ambiguous Symbol -- Compiler Error C2872

How I solved the Ambiguous Symbol -- Compiler Error C2872 problem in C++ (dot net).

Full Code Archive