Stories recently tagged with 'collection'

Getting Started with LINQ - Part 2 (Language Enhancements)(beyondrelational.com)

submitted by DPalkarDPalkar(228) 1 year, 9 months ago

In my previous post I summarized Microsoft Language Integrated Query (LINQ). Briefly discussed about its components as well as showed some code examples to highlight the sql query type syntax it uses. When we talk about LINQ, we are talking about number of little features that were added in .net 3.0 framework which are the building blocks of the LINQ. In this post I will discuss these features a little further as follows. Object Initializers Collection Initializers Anonymous Types, Implicitly Typed variables (var keyword) Lambda Expressions Partial Methods Extension Methods read more...

1 comment |category: |Views: 258

tags: another

A Deque Implementation for .NET(cygon.nuclex.org)

submitted by CygonCygon(134) 2 years, 4 months ago

Collection class using the 'deque' data structure as it is implemented in the standard C++ library to C#. Beats System.Collections.Generic.List<> and System.Collections.Generic.LinkedList<> in nearly all categories and produces much less garbage (garbage as in garbage collection inducing) than both. read more...

add a comment |category: |Views: 54

tags: another

Things to Notice When Binding to Large Collection (dev102.com)

submitted by shaharyrshaharyr(4325) 3 years ago

Lately I was working on an application that had to display a large amount of objects on screen and allow filtering. I have learned that scrolling large collections was not so simple in WPF, and I definitely did not see the problems coming. read more...

add a comment |category: |Views: 292

tags: another

How to: Take control over the Collection Editor's PropertyGrid(dotnetfacts.blogspot.com)

submitted by eugenciutaeugenciuta(715) 3 years, 8 months ago

The PropertyGrid control is a very useful tool if you want to update object attributes at run-time in a elegant way. The PropertyGrid provides some useful events to let you know what is going on. The problem occures for the collection properties when the Collection Editor form is shown. This form also provides a PropertyGrid control to edit any item from the current collection but we don't have access to any of known events. read more...

add a comment |category: |Views: 258

tags: another

Smart PropertyGrid.Net knows how to target multiple collections(visualhint.com)

submitted by visualhintvisualhint(440) 4 years, 3 months ago

This screencast shows how the Microsoft PropertyGrid fails at targetting multiple instances and how Smart PropertyGrid.Net solves the problem. read more...

add a comment |category: |Views: 50

tags: another

C# Collections(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4024) 4 years, 9 months ago

The thirty-sixth part of the C# Fundamentals tutorial introduces the use of collections in C#. A collection is similar to an array in that it contains a group of objects. However, the use of varying types of collection provide for more functionality. read more...

2 comments |category: |Views: 17

tags: another

Creating a Generic Collection Class with Sorting Support in .NET 2.0(kylefinley.net)

submitted by salimsalim(780) 4 years, 11 months ago

One of the coolest new features in .NET 2.0 is the introduction of Generics. For those of you that have been creating tons of strongly typed collections for your business objects I'm sure you had the same reaction I did when you heard about them. "Sweet!! Now I can stop generating and tweaking derived collection classes all over the place!!" (This is assuming you've all been using some sort of refactoring tool that can generate the collection classes for you, I hope you have.) OK, so now we know we can create strongly typed collections in our code. You might be wondering why I'm suggesting we still create a separate collection class and not just use the generic collections included in the System.Collections.Generic namespace. The idea is that we can create our own collections that support generics that provide us with specific needs that we might commonly use or need for a specific application. In this article I will present a simple collection class which both supports Generics as well as Sorting. read more...

add a comment |category: |Views: 99

tags: another