mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 23:34:10 +02:00
27 lines
280 B
Beef
27 lines
280 B
Beef
![]() |
using System.Threading;
|
||
|
|
||
|
namespace IDETest
|
||
|
{
|
||
|
class Break
|
||
|
{
|
||
|
public static void Infinite()
|
||
|
{
|
||
|
while (true)
|
||
|
{
|
||
|
//Thread.Sleep(100);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void Test()
|
||
|
{
|
||
|
//Test_Start
|
||
|
int a = 0;
|
||
|
a++;
|
||
|
a++;
|
||
|
a++;
|
||
|
if (a == -1)
|
||
|
Infinite();
|
||
|
}
|
||
|
}
|
||
|
}
|