Horje
two lowest positive numbers given an array of minimum Code Example
two lowest positive numbers given an array of minimum
using System.Linq;

public static class Kata
{
  public static int sumTwoSmallestNumbers(int[] numbers)
  {
    return numbers.OrderBy(i => i).Take(2).Sum();
  }
}




Csharp

Related
c# nunit initialize variables Code Example c# nunit initialize variables Code Example
Set property of control on form by name Code Example Set property of control on form by name Code Example
c# external execute batch Code Example c# external execute batch Code Example
create blazor server Code Example create blazor server Code Example
List of 2 different iherent classes c#' Code Example List of 2 different iherent classes c#' Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11