InfoQ Homepage C# Content on InfoQ
-
Interview: Ted Neward on Present and Past Languages
In this interview filmed during QCon London 2008, Ted Neward, author of "Effective Enterprise Java", talks about languages, statical, dynamical, objectual or functional. He dives into Java, C#, C++, Haskell, Scala, VB, and Lisp, to name some of them, comparing the benefits and disadvantages of using one or another.
-
Book Review: C# Network Programming
Normally we review new books, but occasionally an older book is just too good to ignore. Richard Blum's C# Network Programming is one such book. Focusing on low-level network programming, this book is just as applicable today as it was when .NET 1.0 was new. And though titled "C#", this book is applicable to any .NET language.
-
C# Library for Amazon S3 Available on CodePlex
Affirma Consulting has developed a C# library which can be used to access Amazon's S3 services from a .NET application. The library, including examples, has been released on CodePlex.
-
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.