
C#
菜菜菜三菜
TA很懒,还没有添加简介,因为不知道写什么
展开
-
VisualStudio更改项目名字
VisualStudio更改项目名字原创 2023-03-13 15:42:46 · 9843 阅读 · 2 评论 -
C#的lock用法
C#的lock用法原创 2023-02-23 10:03:56 · 1670 阅读 · 0 评论 -
C#利用ucSwitch关闭串口时StackOverflowException
C#利用ucSwitch关闭串口时StackOverflowException原创 2022-12-20 10:47:33 · 247 阅读 · 0 评论 -
命名空间“Microsoft.Win32”中不存在类型或命名空间名“OpenFileDialog”(已解决)
就是缺少了某个文件的引用看官网介绍https://docs.microsoft.com/zh-cn/dotnet/api/microsoft.win32.openfiledialog?view=windowsdesktop-6.0dll文件: PresentationFramework.dllVisualStudio:项目-引用-右键添加引用原创 2022-03-29 16:13:33 · 1038 阅读 · 0 评论 -
Cannot access non-static method ‘AddComponent‘ in static context
Cannot access non-static method ‘AddComponent’ in static context或者Cannot access non-static method ‘XXX’ in static context翻译过来就是不能在静态环境中访问非静态方法XXX例如:当前的代码是public static class xxx而AddComponent是一个非静态的方法那就new一下AddComponent的父对象(代码中是GameObject)完美解决..原创 2022-03-25 21:17:22 · 1126 阅读 · 0 评论