标题:C#程序哪里有问题? 谢谢
取消只看楼主
hb2137
Rank: 1
等 级:新手上路
帖 子:28
专家分:0
注 册:2007-6-12
 问题点数:0 回复次数:0 
C#程序哪里有问题? 谢谢

using System;
using System.Collections.Generic;
using System.Windows.Forms;



class hb
{
public static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>

public static void Main()
{
string myInput;
int A;
Console.Write("请输入");
myInput = Console.ReadLine();
A = Int16.Parse(myInput);
if (A < 0)
Console.WriteLine("{0} less than 0", A);
return;
}
}
}

搜索更多相关主题的帖子: 应用程序 public 
2007-09-21 16:17



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-171863-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019564 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved