11智能在线
新记
C# 方法返回类是什么意思?比如public static class(类) method(方法)这种用法的好处是什么呢?
C# 方法返回类是什么意思?比如public static class(类) method(方法),最后return class,这种用法的好处是什么呢?
举报该文章
相关建议 2016-05-18
返回一个有数据的类型给你用啊。
比如 public DataTable GG(),返回一个DataTable。
比如public string GG(),返回一个字符串。
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/2v84mp7mf8mf7sfmvs.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
C#中public static 类名 方法名是什么用法?
C#中public static 类名 方法名是什么用法? ...
c#在定义一个类时,public static class ...
C# 在public方法中,static的作用
C# .net求教....百度看的蒙 改成public st...
c# 类函数static是什么意思?
c#中的方法是什么意思
C#中静态方法是什么意思?静态成员呢?还有静态类?