1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 00:50:25 +02:00
Beef/IDE/Tests/DebuggerTest01/src/Container.bf

43 lines
578 B
Beef

using System.Collections;
using System;
namespace Test
{
class Container
{
static void TestB()
{
List<int> list = scope .();
for (int i < 5)
list.Add(i);
//TestB
list.Remove(2);
}
static void TestA()
{
List<String> list = scope .();
list.Add("A");
list.Add("AB");
list.Add("ABC");
list.Add("ABCD");
list.Add("ABCDE");
list.Add("ABCDEF");
for (int i < 100)
{
list.Add(scope:: String()..AppendF("Str{}", i));
}
//TestA
list.RemoveAt(3);
TestB();
}
public static void Test()
{
TestA();
}
}
}