1.改变list中某个元素的值 public class tb_SensorRecordModel { public int ID { get; set; } public decimal Value1 { get; set; } } List<tb_SensorRecordModel> list = new List<tb_SensorRecordModel>(); list.Add(, Value1 = }); list.Add(, Value1 = }); list.Add(…
RawImage logo = mainLogo.transform.FindChild("back/headBack/Logo").GetComponent<RawImage>(); void Update() { var r = logo.color.r; var g = logo.color.g; var b = logo.color.b; var alpha = Mathf.PingPong(Time.time / 5f, 1); logo.color = new…
public class Solution { Stack<Integer> stack1 = new Stack<Integer>(); Stack<Integer> stack2 = new Stack<Integer>(); public void push(int node) { stack1.push(node); } public int pop() { if(stack1.empty()&&stack2.empty()){ th…