sveawebpay / dotnet-integration

SDK for Sveas standalone payment methods
Other
5 stars 14 forks source link

Comparisons #6

Closed irkush closed 10 years ago

irkush commented 10 years ago

Prefer to use the == operator instead of .Equals()

It is easier to read with ==.

if(foo.Equals(bar))
{
}

// Better && more C#
if(foo == bar)
{

}
Sinsabre commented 10 years ago

Solved in b09f10fbf80d8b0f4db01071e08ea83c72e3c4e0