Contents tagged with SoftDev
-
C# 4.0: COM Interop Improvements
Dynamic resolution as well as named and optional arguments greatly improve the experience of interoperating with COM APIs such as Office Automation Primary Interop Assemblies (PIAs). But, in order to alleviate even more COM Interop development, a few COM-specific features were also added to C# 4.0.
-
C# 4.0: Dynamic Programming
The major feature of C# 4.0 is dynamic programming. Not just dynamic typing, but dynamic in broader sense, which means talking to anything that is not statically typed to be a .NET object.
-
C# 4.0: Named And Optional Arguments
As part of the co-evolution effort of C# and Visual Basic, C# 4.0 introduces Named and Optional Arguments.
-
C# 4.0: Covariance And Contravariance In Generics
C# 4.0 (and .NET 4.0) introduced covariance and contravariance to generic interfaces and delegates. But what is this variance thing?
-
LINQ: Enhancing Distinct With The SelectorEqualityComparer
On my last post, I introduced the PredicateEqualityComparer and a Distinct extension method that receives a predicate to internally create a PredicateEqualityComparer to filter elements.
-
LINQ: Enhancing Distinct With The PredicateEqualityComparer
Today I was writing a LINQ query and I needed to select distinct values based on a comparison criteria.
-
CodeIt.Right Code File Header Template For StyleCop Rules
I like to use both StyleCop and CodeIt.Right to validate my code – StyleCop because it’s free and CodeIt.Right because it’s really good.
-
Defining Document Compatibility In Internet Explorer 8
The procedures to define document compatibility in Internet Explorer 8 are well documented here, but I’ve seem many developers and system administrators that are not aware of this.
-
C# Proposal: Compile Time Static Checking Of Dynamic Objects
C# 4.0 introduces a new type: dynamic. dynamic is a static type that bypasses static type checking.
-
Free e-Book: Programming Windows Phone 7 Series by Charles Petzold