Hey Vladimir
public Type PropertyName
{
get
{
return this.PropertyName; //this will crash your app
}
set
{
return this.PropertyName = value; //this will crash your app
}
}
This is fairly easy to find, but should also be easy find by some code
Hi,
In programming spelling counts and case usually matters as well. A
perfect example is in properties.
//Microsoft says we should no longer use m_ or hungarian notation
//note the lower case first letter
private Type propertyName;
public Type PropertyName
{
get
{
return
Shouldn't the compiler give a warning on cyclic properties as it is such
a clear error? Because the call can be found to have no side effects and
passes no changed params, it must be easy to deem infinite recursive and
to catch at compile-time. Note that Microsoft requires camel-cased
fields only