BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage C# Content on InfoQ

  • Using Closures to Improve API Design and Usage

    Some APIs such as those that perform complex parsing often expose intermediate results via events. As Eric White demonstrates, closures can be used to greatly simplify calling these APIs.

  • SDK for StyleCop Released

    One of the central complaints about Microsoft's StyleCop is that the rules were not customizable. This is being addressed with the release of an SDK.

  • Interview: Rustan Leino and Mike Barnett on Spec#

    Greg Young sat down with Rustan Leino and Mike Barnett of Microsoft Research to discuss Spec#. Spec# is a superset of C# and allows developers to impose contracts on their own code and verify it. This benefits developers by allowing them to find their own errors sooner saving time and resources.

  • Covariance and Contravariance in .NET Generics

    Currently .NET languages such as VB and C# do not support covariance and contravariance for generics. While this is not likely to chance in the near future, people at Microsoft are talking about it.

  • "Squiggles" for C#

    With VS 2008 SP 1, C# has finally added error checking comparable to the continuous feedback VB developers have come to expect from their background compiler. Released under the name Live Semantic Errors or "Squiggles", it provides better design time error checking but only for open files.

  • Exploring IronRuby with a C# Perspective

    Many developers who know a particular programming language and want to learn a second one, often find it the hardest language to learn but subsequent languages being easier. Any developer who knows C# and has an interest in learning IronRuby can find a tutorial series on learning IronRuby based on knowledge of C# from CodeThinked.

  • Duck Typing Using Runtime Code Generation

    Duck typing techniques can be used in statically typed languages like C#, but it generally requires some tedious reflection code. But seeing the benefit of such techniques, some are turning to it anyways and are developing ways to make it less painful.

  • Using 7-Zip's Compressing/Decompressing Functionality from a .NET Application

    Eugene Sichkar, a software developer, has published a project containing a .NET/C# interface to the 7-Zip archiving application on Code Project. 7-Zip is an open source application used to archive/un-archive files in various formats.

  • Do Language Specific Libraries Belong in .NET?

    There is a lot of basic functionality the .NET platform does not provide. For example, there is no built-in way to read CSV files, copy directories, or work with zip files. Well actually there is, but only if you dig deep enough.

  • StyleCop – Microsoft's Style Enforcement Tool for C#

    Style enforcement has long been a hotly debated topic. Not only are their arguments over what style a team should standardize on, but also on whether or not there should be a standard style at all. In a move that is sure to add fuel to the flames, Microsoft has released StyleCop, the style enforcement tool they use internally.

  • C# Debate: When Should You Use var?

    C# 3 added the keyword "var". This allows for local type inference when the compiler can unequivocally determine what type the variable should be. There is, however, some debate as to when it should be used.

  • New version of .NET Disguised as a "Service Pack"

    The beta for Service Pack 1 of .NET 3.5/VS 2008 brings with is a host of new features and libraries including the ADO.NET Entity Framework and Data Services, a client-only version of the Framework, and changes to most of the 3.0 and 3.5 libraries. Despite its name, to many developers this release is as significant as 3.5 itself.

  • APIFinder - Your Guide to APIs

    Developers today are constantly creating applications that consume services of other web sites. Consuming these services requires figuring out and understanding the sometimes complex Application Programming Interfaces (APIs).

  • Robotics Developer Studio 2008 CTP Available for Download

    Microsoft has recently made available for download the Robotics Developer Studio 2008 CTP.

  • Is it time to abandon loops?

    With the addition of LINQ, extension methods, and improved anonymous delegates, many algorithms no longer need explicit loops. In a post titled "If you are using a loop, you're doing it wrong", Chuck Jazdzewski looks at a possible future for C#.

BT