STEAM GROUP
󠁳⁧⁧λ󠁳 λ󠁳
STEAM GROUP
󠁳⁧⁧λ󠁳 λ󠁳
0
IN-GAME
2
ONLINE
Founded
May 6
ABOUT 󠁳⁧⁧λ󠁳

Lambda

using System;
using System.Collections.Generic;
using System.Linq;

class Program
{
static void Main()
{
List<MemberIVE> iveMembers = new List<MemberIVE>
{
new MemberIVE { Name = "Gaeul", Position = "Main Dancer, Lead Rapper", Age = 23 },
new MemberIVE { Name = "Yujin", Position = "Leader, Main Vocalist", Age = 22 },
new MemberIVE { Name = "Rei", Position = "Main Rapper, Sub Vocalist", Age = 22 },
new MemberIVE { Name = "Wonyoung", Position = "Vocalist", Age = 21 },
new MemberIVE { Name = "Liz", Position = "Main Vocalist", Age = 21 },
new MemberIVE { Name = "Leeseo", Position = "Vocalist, Lead Dancer", Age = 19 }
};

MemberIVE gaeul = iveMembers.Find(m => m.Name == "Gaeul");

var eldestMembers = iveMembers.Where(m => m.Age >= 23).ToList();

Console.WriteLine($"--- Profile: {gaeul.Name} ---");
Console.WriteLine($"Position: {gaeul.Position}");
Console.WriteLine($"Age: {gaeul.Age} years old\n");

Console.WriteLine("--- IVE Members aged 23 or older ---");
eldestMembers.ForEach(m => Console.WriteLine($"- {m.Name} ({m.Age} years old)"));
}
}

class MemberIVE
{
public string Name { get; set; }
public string Position { get; set; }
public int Age { get; set; }
}
POPULAR DISCUSSIONS
20 Comments
Jul 14 @ 9:44pm 
TwT me too ok no problem
Jul 14 @ 8:55am 
I cant xd id be hella useless cuz im lazy lol
Jul 14 @ 8:36am 
let me know :3
Jul 14 @ 8:36am 
you wanna become an admin in my ive steam group?
if you have time you can update latest info about ive
Jul 13 @ 2:14am 
That would be awesome asf :steamhappy:
Jul 12 @ 9:33am 
My plan all data include all stage, trophy,image
example
{
"name": "Gaeul",
"real_name": "Kim Ga-eul",
"position": "Main Dancer, Lead Rapper",
"birthdate": "2002-09-24",
"group": "IVE"
}
VIEW ALL (4)
GROUP MEMBERS
Administrators
0
IN-GAME
2
ONLINE
0 IN CHAT
Enter chat room
Founded
May 6