C#新語法大作戰
提醒您!
此為歷史活動,如您對本活動有興趣,您可以從以下管道得到我們最新活動資訊:
活動等級:初階→中階
活動規劃
Interface Types
- 定義實作成員 (Implement Members)
- 定義虛擬靜態成員 (Virtual Static Members)
- Generic Math
Index & Range Types
- Index
- Range
- 在 LINQ 中使用 Index 和 Range (Using Index and Range in LINQ)
Pattern Matching & Switch Case
- Type Patterns
- Switch 的演進與 Switch Expression (Evolution of Switch & Switch Expression)
- Recursive Patterns
- Tuple Patterns
- Positional Patterns
- Property Patterns
- Relational Patterns
- Logical Patterns
- List Patterns
Property
- Init-Only Setter
- Required Members
- Partial Property
Record
- Record
- Record Structure
- Sealed Override ToString
String
- 字串插值中使用字串常數 (Using String Interpolation in Constants)
- 原始字串常值 (Raw String Literals)
Ref Struct
- Implement Interface
- Generic Constraints
Null Reference Types
Namespace
- Global Usings
- Implicit Usings
- File Scope
- Alias Any Type
Lambda
- Infer Delegate Type
- Declare Return Type
- Apply Attributes
- Lambda with Discards
- Default Lambda Parameters
Collection
- Collection Expressions
- Params Collection
Others
- New Lock Object
- GetEnumerator Extension
- CallerArgumentExpression Attribute
- Target-Typed New Expressions
- Using Declarations
- File-Local Types
- Extended nameof Scope
- Primary Constructors
- Ref Readonly Parameters
- Inline Array
- Interceptors
注意事項
- 使用 C# 與 Windows 為主要開發語言與作業系統。
- 為避免清脆的鍵聲影響其他朋友,誠摯的懇求您不要攜帶機械式鍵盤。
- 本課程常態性免費延長時數(最高記錄19:00)如您晚上有約或預定車票,請斟酌延後。
講者的話
隨著時間的推移,C# 語法也不斷推陳出新,這些新的語法增強了不少的開發效率,我精選了從 C#7 ~C#13重要的新語法內容,藉由敘事本末的介紹,搭配眾多的範例,深入理解其內涵與運用。
「泰山不讓土壤,故能成其大;河海不擇細流,故能就其深。」這段話深觸我心,正是 C# 演進史的寫照。