当前位置:网站首页>linq查询集合类入门 案例武林高手类
linq查询集合类入门 案例武林高手类
2022-06-24 19:29:00 【济南医疗小程序状元】
using System;
using System.Collections.Generic;// 引入必要的命名空间
using System.Linq;
using System.Text;
namespace ConsoleApp624
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("LH World!");
// 创建集合类
// 初始化武林高手
var masterlist = new List<linqMaster>()
{
//初始化 创建很多对象linqMaster放到集合里面去
new linqMaster(){ID=100,age=100,menpai="丐帮",Level=1,Kongfu="九阳神功"},
new linqMaster(){ID=1,age=100,menpai="丐帮2",Level=1,Kongfu="九阳神功"},
new linqMaster(){ID=2,age=100,menpai="丐帮3",Level=1,Kongfu="九阳神功"},
new linqMaster(){ID=100,age=100,menpai="丐帮",Level=1,Kongfu="九阳神功"},
new linqMaster(){ID=10边栏推荐
猜你喜欢

A deep learning model for urban traffic flow prediction with traffic events mined from twitter

Make tea and talk about heroes! Leaders of Fujian Provincial Development and Reform Commission and Fujian municipal business office visited Yurun Health Division for exchange and guidance

Datakit 代理实现局域网数据统一汇聚

平衡二叉搜索树

【吴恩达笔记】机器学习基础

【Camera基础(二)】摄像头驱动原理和开发&&V4L2子系统驱动架构

Several classes of manual transactions

滤波数据分析

应用实践 | 海量数据,秒级分析!Flink+Doris 构建实时数仓方案

Volcano成Spark默认batch调度器
随机推荐
How to resolve the 35 year old crisis? Sharing of 20 years' technical experience of chief architect of Huawei cloud database
Application practice | massive data, second level analysis! Flink+doris build a real-time data warehouse scheme
Direct attack on "three summers" production: good harvest news spreads frequently and summer broadcasting is in full swing
【吴恩达笔记】卷积神经网络
LeetCode-513. 找树左下角的值
使用region折叠代码
03---增反膜
02--- impossible phenomenon of longitudinal wave
[Web Security Basics] some details
03--- antireflective film
socket(2)
网络层 && IP
一文理解OpenStack网络
01--- conditions for interference of two trains of waves at the meeting place
AntDB数据库在线培训开课啦!更灵活、更专业、更丰富
如何化解35岁危机?华为云数据库首席架构师20年技术经验分享
Excel布局
123. the best time to buy and sell shares III
Bld3 getting started UI
Guava中这些Map的骚操作,让我的代码量减少了50%