// Declare a function that takes a variable number of arguments public static double WindO_comp(double windDirection, double windMagnitude, double beachOrientation) { WindComponents wndCmp = new WindComponents(windMagnitude, windDirection, beachOrientation); double dblRetVal = wndCmp.dblVcomp; return(dblRetVal); }
// Declare a function that takes a variable number of arguments public static double WindO_comp(double windDirection, double windMagnitude, double beachOrientation) { WindComponents wndCmp = new WindComponents(windMagnitude, windDirection, beachOrientation); double dblRetVal = wndCmp.dblVcomp; return dblRetVal; }