C# 方法
2021-06-28 19:06
阅读:692
标签:static write dog ret csharp public names har stat C# 方法 标签:static write dog ret csharp public names har stat 原文地址:https://www.cnblogs.com/mlh1421/p/10037115.html
using System;
namespace Application {
class Dog {
static void Main(string[] args){
Dog dog=new Dog();
int a=dog.say();
Console.WriteLine("{0}",a);
}
public int say(){
return 1;
}
}
}
评论
亲,登录后才可以留言!