// static function test: multiple arguments from instancepublic class Foo{ fun static void foo( string a, int b, float c ) { if( a == "bar" && b == 1 && c == 4.0 ) <<< "success" >>>; }}// instantiateFoo f;// call itf.foo( "bar", 1, 4.0 );
// static function test: multiple arguments from instance
public class Foo
{
fun static void foo( string a, int b, float c )
{
if( a == "bar" && b == 1 && c == 4.0 ) <<< "success" >>>;
}
}
// instantiate
Foo f;
// call it
f.foo( "bar", 1, 4.0 );