InfoQ Homepage C# Content on InfoQ
-
Presentation: Erik Meijers on Democratizing the Cloud
As the Dutch artist MC Escher once said "Only those who attempt the absurd will achieve the impossible". At Microsoft, Erik Meijers is trying to stretch .NET to cover the Cloud such that developers can incrementally and seamlessly design, develop, and debug complex distributed applications using your favorite existing and unmodified .NET compiler and deploy these applications anywhere.
-
New C# Features Not Found in VB
With the release of Beta 2, the feature set for the flagship .NET languages C# and Visual Basic have been solidified. In the past we have covered VB-only features like mutable anonymous types and XML Literals. Today we cover a couple of the C# only features.
-
Performance Problems with Lambdas
The LINQ Cookbook reveals some performance issues when using lambdas instead of traditional functions.
-
Mono Adds Support For Type Inference in C#
Marek Safar has announced that the C# 3.0 compiler for Mono now supports implicitly typed local variables and implicitly typed arrays using a technique known as type inference.
-
Closures and Object Lifetime in C# and Visual Basic
C# 2 and the yet to be released VB 9 allow developers to reference local variables in anonymous functions. When an anonymous function 'closes over' a variable, the local variable is promoted to an instance variable and stored in an object called a closure. This allows the variable to exist long after the method call that created it has been completed, but can cause some unexpected side effects.
-
Collaboration with Mono Yields Mainsoft for Java EE
Today, Mainsoft, a leading .NET-Java EE interoperability company, announced Mainsoft for Java EE, Version 2.0. The 2.0 product suite enables .NET developers to produce .NET Web and server applications that run on Linux and other Java-enabled platforms, without having to rewrite code or learn new development skills.
-
Ruby.NET 0.8 release
While IronRuby will make its debut in late July 2007, another Ruby implementation for .NET has been available for a year: the Gardens Point Ruby.NET compiler. The project has an interesting relationship with IronRuby - it provides its parser. Its latest release adds improved interoperability with other .NET languages.
-
ReSharper 3.0 with full VB.NET Support
Full-featured support for Visual Basic .NET, including complete cross-language functionality with C#, will be available in ReSharper 3.0, a powerful add-in to Microsoft Visual Studio from JetBrains.
-
Friend Assemblies and Unit Testing
A little known C# feature known as friend assemblies will be making its way to VB 9. This feature allows an assembly to grant access to its internals to another assembly.
-
Presentation: NET Windows Forms Tips and Tricks
Ken Getz demonstrates several different techniques you can use when building Windows applications (recorded at DevLink), including: Creating owner-drawn controls, binding controls to just about anything, exposing protected information with inheritance, exposing new control behavior using inheritance, handling thread synchronization with Windows forms, and creating your own property grid.
-
C# and VB Continue to Diverge
When VB.NET and C# were first released, they were often thought of as the same language with a different syntax and minor differences. As time goes on, these differences are becoming more pronounced. For example, their treatment of anonymous types is worlds apart.
-
A Comparison of C# to Java, Updated
In 2001 Dare Obasanjo has written one of the most comprehensive and accurate "Comparison of Microsoft's C# Programming Language to Sun Microsystems' Java Programming Language". Now he has updated his comparison in order to reflect the changes in the current versions of both languages: Microsoft C# 2.0 and Java Standard Edition 6.
-
Partial Methods in VB and C#
Two language features, Dynamic Interfaces and Dynamic Identifiers, were cut from VB 9. New features that are being added in their place include Partial Methods. While partial methods share many of the same use cases as events, they have very different implementations.
-
Microsoft Domain-Specific Language Tools from a Developer's Perspective
Domain-Specific Languages (DSLs) are an architectural hotspot. Microsoft supports DSLs within the Software Factory Initiative and provides a means to incorporate them into the software development process via the Visual Studio 2005 SDK. Although there is quite some information available on the topic, for the most part, DSLs remain an abstract architectural concept.
-
Visual Studio Orcas Round-Up
InfoQ has assembled a summary of the features included in the March CTP of Visual Studio Orcas. The Orcas CTP, which is expected to be released as VS 2007, can be downloaded from MSDN.