Hi,
What is your question though?
is horsepower a private field?
Most probably you are also exposing a public property, why not use it?
--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Tony Johansson" <jo*****************@telia.comwrote in message
news:sU*****************@newsb.telia.net...
Hello!
public SportsCar MostPowerful(SportsCar carCompare){
if (carCompare.horsepower this.horsepower)
return carCompare;
else
return this;
}