Custom .NET Collection Filters with C# Extension Methods

Mar6th09 by bcherry

Have you ever had a collection (it doesn’t matter what kind of collection), and done some filtering on it using LINQ methods? For example, the following:

List<product> products = GetAllProducts();
var inStock = products.Where(p => p.Qty > 0);
foreach(Product p in inStock)
{
//dosomething with the products
}

This is a pretty common usage of the LINQ extension method Where(). [...]

Read More »

Web Design Cool List

Feb4th09 by Thy Nguyen

Here is a web design cool list that our firm made and it is being used or was used by millions of cool individuals. Some of these designs did not happen overnight and was worked out with our clients.
1.) Sherdog.com – I really like this one because the content keeps on changing. It looks really [...]

Read More »

How to declare variables in the .NET framework using C#

Jan19th09 by Mark.C

DEFINITIONS:
A variable is a specific location used to store data. In order to declare a variable you have to state a data type. Some common data types are:

int // used for integers
double // used for real numbers
bool // used for true or false statements
string // used for a sequence of [...]

Read More »