Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

C# .NET Core linq Distinct

var distinctUsers = allUsers
    .GroupBy(x => x.UserId)
    .Select(x => x.First())
    .ToList();
Comment

PREVIOUS NEXT
Code Example
:: how to move a gameobject 
::  
::  
::  
Csharp :: merge point 
:: c# get class name by type 
:: Comapre Binary Trees 
:: unity waituntil coroutine 
Csharp ::  
::  
::  
::  
::  
::  
:: VLC .net 
:: c# inline if 
::  
::  
Csharp ::  
:: c# run loop x times 
Csharp ::  
Csharp :: get current assembly path c# 
::  
::  
::  
:: get client ip address c# 
Csharp :: C# get md5 of file 
:: last two characters of string c# 
Csharp ::  
:: get attribute value of xml element c# 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =