- Learn C# in 7 days
- Gaurav Aroraa
- 77字
- 2021-07-08 09:51:23
8 (Program.cs)
This is physical class filename.
This is the name of a class file that is physically available on our disk drive. Class name and filename could be different, which means if my class name is Program, then my class filename could be Program1.cs. However, it is bad practice to call both class and filename with different names, but you can do that and the compiler won't throw any exception. For more information, refer to https://stackoverflow.com/questions/2224653/c-sharp-cs-file-name-and-class-name-need-to-be-matched.
推薦閱讀
- Spring Cloud Alibaba核心技術(shù)與實(shí)戰(zhàn)案例
- 編程的修煉
- 高效微控制器C語(yǔ)言編程
- JavaScript 網(wǎng)頁(yè)編程從入門(mén)到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開(kāi)發(fā)視頻大講堂)
- CouchDB and PHP Web Development Beginner’s Guide
- Julia Cookbook
- C語(yǔ)言程序設(shè)計(jì)
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- Learning Unreal Engine Android Game Development
- 實(shí)戰(zhàn)Java高并發(fā)程序設(shè)計(jì)(第2版)
- 并行編程方法與優(yōu)化實(shí)踐
- Java EE Web應(yīng)用開(kāi)發(fā)基礎(chǔ)
- TypeScript全棧開(kāi)發(fā)
- Managing Windows Servers with Chef
- 菜鳥(niǎo)成長(zhǎng)之路