2020年7月8日 星期三

Visual Studio C# 2019, 加入class編譯到的方式

1. (double) click *.sln

 2. Move to namespace and click right button of mouse

3. Create class


4. Click first item to back if possible


7 kyu: Ordered Count of Characters using Lua

 7 kyu: Ordered Count of Characters 這題很簡單,要做的只是計算string中各字元出現的次數。 我一開始寫的code如下: local solution = {} function solution.ordered_count ( in...