Blog Archives

Why it pays to read more than just the first compiler message

Error messages are frustrating. Especially when you can’t figure out why you are getting them.

Take this bit of code:

It produces a ‘TestProject.ComparingCollections.SimpleDataAccessLayer_Tests.MountainComparer’ does not implement inherited abstract member ‘System.Collections.Generic.Comparer<ActualProject.ComparingCollections.Mountain>.Compare(ActualProject.ComparingCollections.Mountain, ActualProject.ComparingCollections.Mountain)’ error for the MountainComparer class.


What do you mean?

Read more ›

Show Buttons
Hide Buttons