From 2d5369573c6f18bfd0adadab7a030542c7981573 Mon Sep 17 00:00:00 2001 From: razi berg Date: Wed, 14 Sep 2016 13:35:37 +0300 Subject: [PATCH] implementing functions wohooo --- GitHubTestProject/Program.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/GitHubTestProject/Program.cs b/GitHubTestProject/Program.cs index b910941..902b082 100644 --- a/GitHubTestProject/Program.cs +++ b/GitHubTestProject/Program.cs @@ -21,7 +21,12 @@ static void Main(string[] args) public static bool IsPrime(int n) { // TODO: Complete fhe funtion - return n % 2 != 0; + for(int i =2; i @@ -30,7 +35,9 @@ public static bool IsPrime(int n) /// An integer array public static void Sort(int[] a) { + // TODO: Complete fhe funtion + Array.Sort(a); } } }