Xamarin & VS 2015 : Break the error message into Chunks.


No project is good without a bug and no build is good without an error. Sometimes, a smallest change can fix a major error. We may take more time to find the smallest change, as we concentrate more on the technical side of the error than the logical side of it. The fix for your error … More Xamarin & VS 2015 : Break the error message into Chunks.

C#,F# – What’s New in Visual Studio 2015 Preview


What’s New In C# 6.0 C# 6.0 adds about a dozen bite-sized new features to C#, all aimed at making your code cleaner and clearer. Instead of introducing new concepts, each feature makes a common coding pattern simpler, and removes boilerplate to let the intent of the code stand out. The video takes a quick tour … More C#,F# – What’s New in Visual Studio 2015 Preview

Dynamic and the DLR


Dynamic Dispatch On to the interop features in C# 4.0, starting with what is perhaps the biggest change. C# now supports dynamic late-binding. The language has always been strongly typed, and it continues to be so in version 4.0. Microsoft believes this makes C# easy to use, fast and suitable for all the work .NET … More Dynamic and the DLR

New C# Features in the .NET Framework 4-Covariance and Contravariance


Covariance and Contravariance Covariance and contravariance are best introduced with an example, and the best is in the framework. In System.Collections.Generic, IEnumerable<T> and IEnumerator <T> represent, respectively, an object that’s a sequence of T’s and the enumerator (or iterator) that does the work of iterating the sequence. These interfaces have done a lot of heavy … More New C# Features in the .NET Framework 4-Covariance and Contravariance

Covariance and Contravariance FAQ


What are covariance and contravariance? In C#, covariance and contravariance enable implicit reference conversion for array types, delegate types, and generic type arguments.Covariance preserves assignment compatibility and contravariance reverses it. The following code demonstrates the difference between assignment compatibility, covariance, and contravariance. // Assignment compatibility. string str = “test”; // An object of a more … More Covariance and Contravariance FAQ