新手駕到,第一天學習,忘走在前方的前輩們給予晚輩我多多的指教.謝謝!
(後面注釋的話語,是我自己一些理解的備註,還望懂的人能幫我糾正一下,自己理解的錯誤!)//引用外部的命名空間
using system;
using system.collections.generic;
using system.linq;
using system.text;
using system.threading.tasks;
//自定義命名空間
namespace _001命名
//定義乙個方法
void scorecountsun()
}}
c sharp 菜鳥的學習歷程2
1.值型別有三種 簡單值型別,結構體 關鍵字 struct 列舉 關鍵字 enum 2.值型別的資料是在棧上申請記憶體來儲存的,它寄存的類是valuetype class program static gamestate gamestate gamestate.gamestart 宣告乙個列舉變數並...
c sharp 菜鳥的學習歷程3
class program static void main string args int i b.indexof c indexof提取vincet裡 面相同字母的陣列分大小寫且只找乙個 m 在vincetc 第三位插入m console.write b.remove 6,1 除vincetc第...
C sharp 乙個菜鳥學習歷程
1.值型別的資料是在棧上申請記憶體來儲存的,它寄存的類是valuetype 2.值型別有三種 簡單值型別,結構體 關鍵字 struct 列舉 關鍵字 enum byte 0到255 sbyte 128到127 shotr 短整形 32768到32767 ushotr 無符號短整形0到65535 in...