Stories recently tagged with 'Extension'

Randomizing Enumerables via Extension Methods(www.danielahill.com)

submitted by resabioresabio(80) 18 days, 9 hours ago

Randomize all the values in an IEnumerable or choose a random value using extension methods and LINQ, enumerating the collection only once. read more...

add a comment |category: |Views: 40

tags: another

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

Update on Generic Extension Methods project.(it.toolbox.com)

submitted by plbyrdplbyrd(825) 2 years ago

Some activity of note on the Generic Extension Methods project. read more...

add a comment |category: |Views: 4

tags: another

IQueryable: Sorting, Paging, Searching and Counting(inflecto.co.uk)

submitted by rmmasonrmmason(25) 2 years, 3 months ago

A good post that contains extension methods that add sorting, paging, seacrching and countain functionality to IQueryable objects. read more...

add a comment |category: |Views: 103

tags: another

Finding missing numbers in a list using LINQ with C#(leniel.net)

submitted by lenielleniel(489) 2 years, 4 months ago

Let’s say you have a list of integer values that represent the days of a month like this: 6, 2, 4, 1, 9, 7, 3, 10, 13, 15, 19, 11, 18, 13, 22, 24, 20, 27, 31, 25, 28 - Clearly we have missing numbers/days in the list. They are: 5 8 12 14 16 17 21 23 26 29 30. It’s really easy to get a list of missing numbers using LINQ with C# and the Except operator. LINQ is the greatest addition to the C# language. I can imagine how life would be difficult if we hadn’t LINQ! This post shows how I implemented a missing numbers finder using a C# extension method. read more...

add a comment |category: |Views: 15

tags: another

BlogEngine extension to ignore duplicate comments(blogs.a-h-m-e-d.com)

submitted by ahmedelkilaniahmedelkilani(25) 2 years, 4 months ago

BlogEngine extension to add validation then ignore duplicate comments read more...

add a comment |category: |Views: 7

tags: another

How to prevent Extension methods from appearing as global functions(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

C# have static (or shared) classes which VB lacks. Instead VB uses modules which are almost the same thing. One thing differs though and that is that modules makes its public methods appear as global accessible functions, meaning you don’t have to type the ModuleName.MethodName() when calling such a member. You can instead simply call MethodName() directly. A disadvantage of this fact is that extension methods, that must exist in modules in VB, will appear in IntelliSense as global functions and not only as a method of the type you extended. read more...

add a comment |category: |Views: 13

tags: another

EventHandler Extension Method(kohari.org)

submitted by Tr3vTr3v(376) 3 years ago

Useful extension method for raising events read more...

add a comment |category: |Views: 17

tags: another

SyntaxHighlighter Extension for BlogEngine.NET(dscoduc.com)

submitted by emirtrevinoemirtrevino(55) 3 years, 6 months ago

it a great tip for developer bloggers read more...

add a comment |category: |Views: 16

tags: another

WSS/SharePoint Extension 1.2 for Visual Studio 2008(codebender.denniland.com)

submitted by dzengdzeng(815) 3 years, 7 months ago

Finally it’s out, get it while it’s hot. Now you SharePoint developers no longer need to hesitate to upgrade to Visual Studio 2008 if you haven’t. Some tips are provided if you need to install the extension on your XP/Vista machine (i.e. not having WSS 3.0 preinstalled). read more...

add a comment |category: |Views: 101

tags: another

Link thumbnails extension for BlogEngine.NET(blog.tiroki.com)

submitted by idanyaelidanyael(80) 3 years, 11 months ago

New link thumbnails extension for BlogEngine.NET 1.3 available for download. read more...

1 comment |category: |Views: 67

tags: another

BlogEngine.net DotNetKicks Extension (learnmsnet.com)

submitted by omacdonomacdon(110) 4 years ago

Describes a BlogEngine.NET Extension that allows the submission of articles to DotNetKicks from a Blog page. read more...

add a comment |category: |Views: 11

tags: another

BlogEngine Extension: Copy Code to Clipboard(squaredroot.com)

submitted by TroyMGTroyMG(2670) 4 years, 1 month ago

An extension for BlogEngine.net that adds a "copy to clipboard" link to all code posted via Windows Live Writer's Code Snippet plugin. read more...

add a comment |category: |Views: 17

tags: another

Implementing the Each method in C# collections.(blog.latrompa.com)

submitted by hgarciahgarcia(1534) 4 years, 1 month ago

Ruby has it, Prototype add it to JavaScript array. I find myself using it a lot, why not to implement it in C#? Take a look at a quiet take on this one. read more...

add a comment |category: |Views: 7

tags: another

Introducing C# 3 – Part 2(programmersheaven.com)

submitted by pheavenpheaven(430) 4 years, 1 month ago

This is the second of a four part series on C# 3.0. It covers extension methods, explaining what they are, when to use them and how to write them. It then moves on to lambda expressions, explaining the syntax and showing how C# 2.0 anonymous methods can be re-written using the new syntax. It also looks at how type inference and lambda expressions work together. read more...

add a comment |category: |Views: 12

tags: another

IE7pro - must have an extension for IE 7(gaaton.blogspot.com)

submitted by HaGeverHaGever(915) 4 years, 11 months ago

IE7pro is an extension for IE 7, which increases functionality by adding :-Fast proxy servers, Modification identification line browser, expanded dran n record, the manager, safe browsing web pages, - Fast Save graphics, and more. read more...

1 comment |category: |Views: 1

tags: another