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 … Continue reading Xamarin & VS 2015 : Break the error message into Chunks.
Microsoft Visual studio as an IDE has matured over the years and now as a developer we are eagerly awaiting release of Visual Studio 2015 later this year. In this post,i will be talking about what's good in Visual studio 2015 CTP 6 (released on Feb 23rd) for debugging and profiling your code.I will be … Continue reading Visual Studio : What’s new in 2015 debugging
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 … Continue reading C#,F# – What’s New in Visual Studio 2015 Preview
My boss has asked me to do a POC using MVC...I jumped and said will try with MVC4-the new beta bride in the market...Then did a reality study and here are few learning tips,feature studies etc Installation Notes ASP.NET MVC 4 Beta for Visual Studio 2010 can be installed from the ASP.NET MVC 4 home … Continue reading ASP.NET MVC4-what’s in the basket???
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 … Continue reading Dynamic and the DLR
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 … Continue reading New C# Features in the .NET Framework 4-Covariance and Contravariance
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 … Continue reading Covariance and Contravariance FAQ