The following code snippet causes a stack overflow exception. Can you spot it? I almost didn't catch the case difference. See it now? I'm surprised the compiler didn't complain - at all, however ReSharper found the recursive call and squiggled it. Yet another reason to get Re#.
public string CreatedDate
{
get { return createdDate; }
set { CreatedData = value; }
}
Powered by: newtelligence dasBlog 2.1.8102.813
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Shawn Neal
E-mail