• 博客园Logo
  • 会员
  • 周边
  • 捐助
  • 新闻
  • 博问
  • 闪存
  • 赞助商
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 简洁模式 ... 退出登录
    注册 登录
金大鑫要坚持
博客园    首页    新随笔    联系   管理    订阅  订阅
2015年8月7日
C# 在Visual Studio中一个项目有两个Main函数, 怎么设置哪个是入口?取代csc /main选项。
摘要: namespace ConsoleApp1{class Program{static void Main(string[] args){Console.WriteLine("Program");Console.ReadKey();}}class Program1{static void Main(s... 阅读全文
posted @ 2015-08-07 19:58 金大鑫要坚持 阅读(4781) 评论(0) 推荐(0) 编辑
C# Enum Type
摘要: class Program { public enum TimeOfDay { Morining, Afternoon, Evening } static void... 阅读全文
posted @ 2015-08-07 19:48 金大鑫要坚持 阅读(115) 评论(0) 推荐(0) 编辑
Copyright © 2024 金大鑫要坚持
Powered by .NET 8.0 on Kubernetes