![]() |
SortedSet class represents the collection of objects in sorted order. This class comes under the System.Collections.Generic namespace. SortedSet<T>.Min Property is used to get minimum value in the SortedSet<T>, as defined by the comparer. Properties:
Syntax: mySet.Min Here, mySet is the object of the SortedSet. Return Value: Minimum value in the SortedSet. Below programs illustrate the use of SortedSet<T>.Min Property: Example 1:
Output:
The minimum element in SortedSet is : 0 Example 2:
Output:
The minimum element in SortedSet is : A Reference: |
Reffered: https://www.geeksforgeeks.org
C# |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 9 |