Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

list min and Max value in c#

			var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 16, 17 };  
            // MAX  
            Console.WriteLine("MAX=>" + list.Max(z => z));  
            // MIN  
            Console.WriteLine("MIN=>" + list.Min(z => z));
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# int 
Csharp :: static c# 
Csharp :: export list to excel c# 
Csharp :: sorting a datatable in c# 
Csharp :: csharp get decimal part of number 
Csharp :: how to make pc bsod C# 
Csharp :: how to load file from resources in c# 
Csharp :: what is unity 
Csharp :: All Possible SubString of string 
Csharp :: deserialize json to dynamic object c# 
Csharp :: c# api bypass ssl certificate 
Csharp :: vb.net remove last comma from string 
Csharp :: c# scroll to bottom of datagridview vb.net 
Csharp :: entity framework delete record with foreign key constraint 
Csharp :: asp .net core 3 mvc select with default value 
Csharp :: how to insert value to identity column using entity framwork 
Csharp :: c# nullable generic 
Csharp :: vb.net get date minus one day 
Csharp :: recursively reverse linked list 
Csharp :: how to keep rigidbody2D upright unity 
Csharp :: c# lambdas 
Csharp :: get min date in list c# 
Csharp :: cast from object to generic type c# 
Csharp :: unity rb.addexplosionforce 2d 
Csharp :: vb.net datagridview set row index 
Csharp :: c# null conditional 
Csharp :: how to write web service for API in c# 
Csharp :: run in new thread C# 
Csharp :: unity rotate around point 
Csharp :: how to serialize a property in unity 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =