|
@@ -1,5 +1,6 @@
|
|
|
using System;
|
|
using System;
|
|
|
using System.Diagnostics;
|
|
using System.Diagnostics;
|
|
|
|
|
+using System.Threading;
|
|
|
|
|
|
|
|
namespace Chino.Apps.Shell
|
|
namespace Chino.Apps.Shell
|
|
|
{
|
|
{
|
|
@@ -7,7 +8,16 @@ namespace Chino.Apps.Shell
|
|
|
{
|
|
{
|
|
|
static void Main(string[] args)
|
|
static void Main(string[] args)
|
|
|
{
|
|
{
|
|
|
- Console.WriteLine("Hello Shell!");
|
|
|
|
|
|
|
+ Debug.WriteLine("Hello Shell!");
|
|
|
|
|
+
|
|
|
|
|
+ int i = 0;
|
|
|
|
|
+ while (true)
|
|
|
|
|
+ {
|
|
|
|
|
+ Thread.Sleep(1000);
|
|
|
|
|
+ Debug.WriteLine("Tick" + i++);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ //Console.WriteLine("Hello Shell!");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|