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:

  1. http://www.daniweb.com
  2. http://social.msdn.microsoft.com/Forums/
  3. http://stackoverflow.com/
  4. http://stackexchange.com/
  5. http://www.experts-exchange.com/

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.

Ambiguous Symbol -- Compiler Error C2872

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

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.

Packing a DBF

I thought my days of dealing with DBFs as a "production data" source were over, but HA (no such luck). Here is a method of using the FoxPro ODBC driver to Pack a DBF file (removing deleted content from the repository).

Geek Quiz

70% Geek

Calling An ASMX Web Service From Different Languages

Here are some examples of calling a particular ASMX Web Service from different languages.

Cross-language Extension Method Calling

In my last post, I showed how Extension methods can be created in the .NET 2.0 environment. In this post, I discuss calling the extensions from other dot net languages.

Extension Methods in Dot Net 2.0

Here is a short, simple method of harnessing Extension methods in Dot Net 2.0. Please read the linked article first.

Ruby-Like "times" method #ruby #csharp #linq #vb #cpp

Here's the implementation of the Ruby-like "times" method that executes a block of code (n) times.
«September»
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011