I know this will really turn out to be simple, but my brain is just not working. I need a function in C# that will return -1 if the integer passed to the function has a nega
public int SignFunction( int input ) { if( input < 0 ) return -1; if( input > 0 ) return 1; return 0; }