Richard's blog
Anmeldung
|
Registrieren
|
Hilfe
Home
Kontakt
RSS
Atom
RSS Kommentare
Suche
Ordnungsbegriffe
.Net
.Net Visual Studio Team System 2008 development
Accumulator
Aggregate
Anonymous Types
Apps
Architecture
architecture software quality .net asp.net scalability
ASP.Net
books
build server
building
builds
C#
C# 2.0
C# 3.0
C# 3.0 extension methods ruby syntax
C# 3.0 extension methods ruby syntax ranges
C# 3.0 migration upgrade refactor
C# automatic properties refactoring
C# mixin multiple inheritance
C# mixins ruby
C# mixins Ruby extension methods multiple inheritance
certification
changes in software development
CI
Code Snippets
Commands
concurrency
data
Design
Development
exams
exceptions
Extension Methods
Fibonacci Sequence C# 3.0 code best practices
framework
free
Grouping
IGrouping
integration
Ironpython
IronPythonStudio
Lambda Expressions
LINQ
LINQ SQL DataContext
LINQ to SQL
LinqDataSource
LINQ-to-XML
ListView
loading
MCP
MCTS
Mix08
MVC
MVP
NVelocity
passing anonymous types functions
PowerCommands
Pro LINQ
Programming
Quaility
Refactoring
Ruby
Silverlight
Silverlight 2.0
Software
SQLMetal
SubSonic
Team System
testing
Tips
Tools
Uncategorized
VB
VB.Net
ViewState
Visual Studio
Web
WF
workflow foundation
WPF
XML
Navigation
Home
Blogs
Archive
Juni 2007 (1)
Test
My profile
Nach Ordnungsbegriffen durchsuchen
Alle Ordnungsbegriffe
»
Extension Methods
(
RSS
)
.Net
Anonymous Types
ASP.Net
C#
C# 3.0
C# 3.0 extension methods ruby syntax
C# 3.0 extension methods ruby syntax ranges
C# mixin multiple inheritance
C# mixins Ruby extension methods multiple inheritance
Design
Development
Lambda Expressions
LINQ
ListView
NVelocity
passing anonymous types functions
Programming
Refactoring
Software
C# Acrobatics : Lambdas and Expression Methods as a replacement for NVelocity
von
.Net Smoothie
I’ve been very quiet recently. (I’m trying to not be so loud, Scott. ) You see, I’ve been writing a lot of ASP.Net code for a site I’m working on. And, to be honest, I’ve been having a lot of trouble. The source code for...
Abgelegt unter:
C# 3.0
,
.Net
,
Extension Methods
,
C#
,
ASP.Net
,
Development
,
Programming
,
ListView
,
Lambda Expressions
,
NVelocity
Design Guidelines for LINQ
von
.Net Smoothie
Have you wondered if and when you should use the new LINQ features in .Net 3.5? Like, where should I put a new extension method? Should I use Func<T> or a custom delegate? How do I best implement a mix-in (extension methods on an interface)? Well...
Abgelegt unter:
Software
,
C# 3.0
,
LINQ
,
.Net
,
Extension Methods
,
Design
,
Development
,
Programming
ExtensionMethod.net - An Extension Methods Database
von
.Net Smoothie
While surfing around tonight, I came across ExtensionMethod.net, a database of useful Extension Methods for C# 3.0 and VB 9. I thought it might be useful, so I added a few of my own extension methods. IComparable<T>.LessThan int.Times int.To There...
Abgelegt unter:
C# 3.0
,
.Net
,
Extension Methods
,
Development
Can You Pass an Anonymous Type Across Functions?
von
.Net Smoothie
One of the biggest questions with Anonymous Types is “can I pass them around?” If not, why not? Can you do something like this, for example: var GetAnonymousValue() { return new { Name = “Richard Bushnell” }; } void Main() { var...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Extension Methods
,
Refactoring
,
C#
,
Development
,
passing anonymous types functions
,
Anonymous Types
Fun with C# Extension Methods: Quick Loops
von
.Net Smoothie
In my last post, I demonstrated an extension method for easy creation of ranges, using the 1.To(x) syntax, similar to the Ruby [1..x] syntax. Today I’m writing another copy of a Ruby idea which lets you do a quick loop using a terse and easy-to...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
C# 3.0 extension methods ruby syntax
,
Extension Methods
Fun with C# Extension Methods: Easy Ranges
von
.Net Smoothie
I’m not a real Ruby on Rails developer, but I’ve tried to learn it, just to broaden my perspective. Coming from a C# background, I’m impressed by how easy it is to read Ruby code. In fact, it is usually so compact and self-descriptive...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Extension Methods
,
C# 3.0 extension methods ruby syntax ranges
A Mixin for IComparable<T>
von
.Net Smoothie
Following on from my other posts on C# Mixins, here’s a short one to demonstrate the benefits of Mixins using IComparable<T>. I don’t know about you, but I can never remember how the CompareTo method of IComparable<T> works...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Extension Methods
,
C# mixins Ruby extension methods multiple inheritance
A not-so-simple Mixin with C# 3.0
von
.Net Smoothie
My last post gave a simple idea of how to do a Mixin with C#. Rather than repeating what someone else has already done, if you want to see a more complex example of what can be done, check out Create Mixins with Interfaces and Extension Methods by Bill...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Extension Methods
,
Refactoring
,
C# mixin multiple inheritance