System::Collections::Generic::IComparer::Compare मेथड

IComparer::Compare method

Comparison function.

virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
पैरामीटरप्रकारविवरण
xargs_typeतुलना करने के लिए पहला ऑब्जेक्ट।
yargs_typeतुलना करने के लिए दूसरा ऑब्जेक्ट।

ReturnValue

यदि x y से छोटा है तो नकारात्मक मान; यदि वे बराबर हैं तो शून्य; यदि x y से बड़ा है तो सकारात्मक मान।

संबंधित देखें