Why do I have to write:
public VeryLongClassNameThatHurtsMyEyes<AnotherVeryLongClassName> field = new VeryLongClassNameThatHurtsMyEyes<AnotherVeryLongClassName>();
Instead of:
public var field = new VeryLongClassNameThatHurtsMyEyes<AnotherVeryLongClassName>();
Is there any way to shorten this ridiculous declaration? Why do I have to write two identical types in a single line?
Upd. I have found that using "dynamic" keyword instead of "var" perfectly solves this problem! Please feel free to provide any info on the perfomance (or other) issues with this solution!