20240724 C#&&netframe
明昧 Lv7

目的

要解析别人的源码看看,我们自己的咋设计

学习链接

https://www.bilibili.com/video/BV1hx4y1G7C6?p=3&vd_source=dbe14335c46e4fc9f76a6643a614c5af

时间

  • 20240722-20240726 这个周至少得把项目基本的框架过一遍吧

netframe项目文件结构

image-20240724124300528

上面的 using 类似于包的设置

image-20240724124326978

1.注意左侧使用using的包和右侧文件夹的对应关系

2.一个文件夹里可以有很多个cs文件/类文件

3.同一个文件夹里的文件之间的类可以相互调用,不同文件夹(比如Common文件夹里的类和Model文件夹里的类,如果不同的话就需要using引入包之后才能调用类)

image-20240724132922479

image-20240724132005093


image-20240725105726282

namespace

image-20240724133225427

注释

image-20240724133306245

类型转化

image-20240725093501379

指针

image-20240725094153627

out ref

image-20240725103138685

image-20240725103224619

 Comments
Comment plugin failed to load
Loading comment plugin
Powered by Hexo & Theme Keep
Unique Visitor Page View