using System ;
namespace Jackson.Life
{
public class YoJacksonAge
{
public static void Go()
{
double myAge =0;
double now=18.7;
double mylifespan = 80;
if(MyAge==now){
Console.WriteLine("I went the 1/4 for MyLife already!");
Console.WriteLine("I have no money and no house");
Console.WriteLine("I have no wife and no son");
}else if(MyAge==25){
Console.WriteLine("I went the about 1/5 for MyLife already!");
Console.WriteLine("I have a little money and a little house");
Console.WriteLine("I have wife and get Jack this year");
}}else if(MyAge==40){
Console.WriteLine("I went the 3/8 for MyLife already!");
Console.WriteLine("I have 5000k money and a big house");
Console.WriteLine("I love my wife and a son,his age is 10");
}}else if(MyAge==60){
Console.WriteLine("I went the 3/4 for MyLife already!");
Console.WriteLine("I have some E money and a big house");
Console.WriteLine("I have not to much time alreadey");
Console.WriteLine("I love my home ");
}else{
Console.WriteLine("I will be dead!");
Console.WriteLine("the end!");
Application.Exit();
}
}
}
} 程序运行调用该方法后,发生这样一个中文经典异常:
-------------------------------------------------------------------
Execption:Error(909):jackson is deathless.
异常:错误代号(909):江哥是不死的. ------------------------------------------------------------
我百思不得其解。。
很多干了一辈子的死鬼程序员,
托梦的时候告诉我: 干了 一辈子 都没遇到过这异常。。
namespace Jackson.Life
{
public class YoJacksonAge
{
public static void Go()
{
double myAge =0;
double now=18.7;
double mylifespan = 80;
if(MyAge==now){
Console.WriteLine("I went the 1/4 for MyLife already!");
Console.WriteLine("I have no money and no house");
Console.WriteLine("I have no wife and no son");
}else if(MyAge==25){
Console.WriteLine("I went the about 1/5 for MyLife already!");
Console.WriteLine("I have a little money and a little house");
Console.WriteLine("I have wife and get Jack this year");
}}else if(MyAge==40){
Console.WriteLine("I went the 3/8 for MyLife already!");
Console.WriteLine("I have 5000k money and a big house");
Console.WriteLine("I love my wife and a son,his age is 10");
}}else if(MyAge==60){
Console.WriteLine("I went the 3/4 for MyLife already!");
Console.WriteLine("I have some E money and a big house");
Console.WriteLine("I have not to much time alreadey");
Console.WriteLine("I love my home ");
}else{
Console.WriteLine("I will be dead!");
Console.WriteLine("the end!");
Application.Exit();
}
}
}
} 程序运行调用该方法后,发生这样一个中文经典异常:
-------------------------------------------------------------------
Execption:Error(909):jackson is deathless.
异常:错误代号(909):江哥是不死的. ------------------------------------------------------------
我百思不得其解。。
很多干了一辈子的死鬼程序员,
托梦的时候告诉我: 干了 一辈子 都没遇到过这异常。。
代码有误,请更正
有“Execption:Error(909):jackson is deathless. ”这样的异常吗?
简直是浪费我们的时间。