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
»
Refactoring
»
.Net
(
RSS
)
Accumulator
Aggregate
Anonymous Types
ASP.Net
C#
C# 2.0
C# 3.0
C# 3.0 migration upgrade refactor
C# automatic properties refactoring
C# mixin multiple inheritance
Commands
Design
Development
Extension Methods
Fibonacci Sequence C# 3.0 code best practices
Lambda Expressions
MVC
passing anonymous types functions
PowerCommands
Programming
Ruby
Software
SubSonic
Tools
Visual Studio
Remove and Sort Those Ugly “using-Statements”
von
.Net Smoothie
Visual Studio 2008 has lots of goodies in it, like LINQ syntax, CSS editing, and testing tools. There’s a lesser-known feature which I really appreciate though - the “Remove and Sort Usings” command in the C# editor. You activate the...
Abgelegt unter:
C# 3.0
,
.Net
,
Refactoring
,
Development
,
Visual Studio
,
Programming
,
Commands
,
Tools
,
PowerCommands
Refactoring C# Series: Aggregation of IEnumerable
von
.Net Smoothie
I was recently reading this book about the Ruby programming language, and came across this piece of example code: [1,3,5,7].inject(0) {|sum, element| sum+element} -> 16 [1,3,5,7].inject(1) {|product, element| product*element} ...
Abgelegt unter:
C# 3.0
,
.Net
,
Refactoring
,
C# 2.0
,
Development
,
Ruby
,
Lambda Expressions
,
Accumulator
,
Aggregate
ASP.Net MVC Corollary - What to do?
von
.Net Smoothie
Dude! I got quoted! And by none other than Rob Conery of SubSonic fame. It seems like my last post caused quite an unexpected stir. Thanks to both Rob and Scott for taking the time to answer me. I really appreciate it. A Word of Appreciation Let’s...
Abgelegt unter:
Software
,
.Net
,
Refactoring
,
Design
,
ASP.Net
,
MVC
,
SubSonic
Calculating the Fibonacci Sequence with C# 3.0
von
.Net Smoothie
Scott Hanselman just posted his latest article in his weekly source code series. He shows various ways of producing the Fibonacci Sequence using various languages. I found it really interesting, for two reasons: I tried to do the C#3.0 one on my own after...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Refactoring
,
Design
,
Development
,
Fibonacci Sequence C# 3.0 code best practices
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
Refactoring C# Series: Use Automatic Property
von
.Net Smoothie
Name Use Automatic Property Summary You have a property in a class which just wraps a field of the same type, and simply returns or sets that field. private string _field1; public string Field1 { get { return _field1; } set { _field1 = value; } } Becomes...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Refactoring
,
C# automatic properties refactoring
,
C# 2.0
,
C#
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
New series: Refactoring C# 1.0 code to C# 3.0
von
.Net Smoothie
I really like Scott Hanselmann’s idea to write an indefinite series of posts about reading code to be a better developer. I’m going to copy his idea, and write a series of my own. Since its first version, C# has evolved from being a Java clone...
Abgelegt unter:
Software
,
C# 3.0
,
.Net
,
Refactoring
,
C# 2.0
,
C#
,
C# 3.0 migration upgrade refactor