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 … Continue reading Xamarin & VS 2015 : Break the error message into Chunks.

Advertisements

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 … Continue reading Covariance and Contravariance FAQ