2022年10月14日
摘要: 开发环境:Win10 VS2013。 一,新建一个类库Lib。 namespace Lib { public class Class1 { public int Add(int x,int y) { return x + y; } } } 二,新建一个WinForm,调用Lib.dll,正常运行。 阅读全文
posted @ 2022-10-14 17:24 闻缺陷则喜何志丹 阅读(2) 评论(0) 推荐(0) 编辑
摘要: HashMap<String,short>的问题 改成HashMap<String,Short>就可以了。 HashMap不能使用基本数据类型。 原始类型 封装类 boolean Boolean char Character byte Byte short Short int Integer lon 阅读全文
posted @ 2022-10-14 16:11 闻缺陷则喜何志丹 阅读(2) 评论(0) 推荐(0) 编辑