E
Edward W.
hello, I have this function below which is simple and easy to understand
private function ListHeight (byval UserScreenHeight as int) as int
if UserScreenHeight < 1024
return 30
else
return 50
end if
end function
It is very functional but seems pretty lame to me, like I could do better.
is there a more "professional" way or "elegant" way to do this?
Ed
private function ListHeight (byval UserScreenHeight as int) as int
if UserScreenHeight < 1024
return 30
else
return 50
end if
end function
It is very functional but seems pretty lame to me, like I could do better.
is there a more "professional" way or "elegant" way to do this?
Ed
