Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
z
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Console.WriteLine("Hello, world!"); List<ConditionInfo> conditionList = new List<ConditionInfo>(); conditionList.Add(new ConditionInfo() { 번호 = 9, 이름 = "l" }); conditionList[0].stockItemList = new List<StockItemInfo>(); conditionList[0].stockItemList.Add(new StockItemInfo()//이게 되게중요한이유는 이 컨디션리스트는 컨디션클래스리스트인데 이안에 스톡아이템클래스리스트가 잇음 바로 이거를 애드하는방법이 이렇게 뉴해서 하는거라는 뜻이 되는거임 { 가 = 1, 나 = 2 }); conditionList[0].stockItemList.Add(new StockItemInfo()//이게 되게중요한이유는 이 컨디션리스트는 컨디션클래스리스트인데 이안에 스톡아이템클래스리스트가 잇음 바로 이거를 애드하는방법이 이렇게 뉴해서 하는거라는 뜻이 되는거임 //이게바로 스톡리스트 [1]번째클래스 { 가 = 3, 나 = 4 }); conditionList[0].stockItemList.RemoveAll(a => a.가 == 3 || a.나 == 400); int aa = conditionList[0].stockItemList[0].가; int 둘 = conditionList[0].stockItemList[1].나; Console.WriteLine(aa); //Console.WriteLine(둘); } class ConditionInfo { public int 번호 { get; set; } public String 이름 { get; set; } public Boolean 여부 = false; public double lastRequestTime; public List<StockItemInfo> stockItemList; } class StockItemInfo { public int 가 { get; set; } public int 나 { get; set; } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Unity First Person Controller
ARM
Formación TECOI
Ref
30272 ProgramEX8 For&While
reverse linked list
Subdomain regex
Stuff
Find the missing number in an array2
NationalCode
Please log in to post a comment.