From c8344e86365822bd817375574b16dc8b24650105 Mon Sep 17 00:00:00 2001 From: krahets Date: Fri, 14 Apr 2023 06:01:37 +0800 Subject: [PATCH] Fix C# codes for the bucket sort, counting sort and radix sort --- .../csharp/chapter_sorting/{bucked_sort.cs => bucket_sort.cs} | 4 ++-- codes/csharp/chapter_sorting/counting_sort.cs | 2 +- codes/csharp/chapter_sorting/radix_sort.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename codes/csharp/chapter_sorting/{bucked_sort.cs => bucket_sort.cs} (96%) diff --git a/codes/csharp/chapter_sorting/bucked_sort.cs b/codes/csharp/chapter_sorting/bucket_sort.cs similarity index 96% rename from codes/csharp/chapter_sorting/bucked_sort.cs rename to codes/csharp/chapter_sorting/bucket_sort.cs index 38410339..43fe7358 100644 --- a/codes/csharp/chapter_sorting/bucked_sort.cs +++ b/codes/csharp/chapter_sorting/bucket_sort.cs @@ -1,5 +1,5 @@ /** - * File: bucked_sort.cs + * File: bucket_sort.cs * Created Time: 2023-04-13 * Author: hpstory (hpstory1024@163.com) */ @@ -8,7 +8,7 @@ using NUnit.Framework; namespace hello_algo.chapter_sorting; -public class bucked_sort +public class bucket_sort { /* 桶排序 */ public static void bucketSort(float[] nums) diff --git a/codes/csharp/chapter_sorting/counting_sort.cs b/codes/csharp/chapter_sorting/counting_sort.cs index 877f2279..0e7daa40 100644 --- a/codes/csharp/chapter_sorting/counting_sort.cs +++ b/codes/csharp/chapter_sorting/counting_sort.cs @@ -1,5 +1,5 @@ /** - * File: bucked_sort.cs + * File: counting_sort.cs * Created Time: 2023-04-13 * Author: hpstory (hpstory1024@163.com) */ diff --git a/codes/csharp/chapter_sorting/radix_sort.cs b/codes/csharp/chapter_sorting/radix_sort.cs index 3a714bf8..fbcce579 100644 --- a/codes/csharp/chapter_sorting/radix_sort.cs +++ b/codes/csharp/chapter_sorting/radix_sort.cs @@ -1,5 +1,5 @@ /** - * File: bucked_sort.cs + * File: radix_sort.cs * Created Time: 2023-04-13 * Author: hpstory (hpstory1024@163.com) */