Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C#
C# Reference
C# Operators
 >= Operator
Collapse All/Expand All Collapse All
C# Language Reference
>= Operator (C# Reference)

All numeric and enumeration types define a "greater than or equal" relational operator, >= that returns true if the first operand is greater than or equal to the second, false otherwise.

User-defined types can overload the >= operator. For more information, see operator. If >= is overloaded, <= must also be overloaded. Operations on integral types are generally allowed on enumeration.

C#
class GTE
{
    static void Main()
    {
        Console.WriteLine(1.1 >= 1);
        Console.WriteLine(1.1 >= 1.1);
    }
}
/*
Output:
True
True
*/

Concepts

Reference

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker