拉姆达表达式记录 + log日志+代码

article/2025/11/11 11:05:36

目录

      • 71. item.label = $"{lstD[i].DeptName}({lstCamera.Count})";
      • 72. 定义entity时不写传统的{get;set;}
      • 73.
      • 74. EF多对多
      • 75. DateTime.Now.Subtract(x.GpsTime).TotalHours
      • 76. queryModel.LogDate.Value.Year
      • 77. .net导出Excel
      • 78. User.Identity.Name
      • 79.
      • 80. EF忽略查询(待解决)
      • 81. A_Model 映射到 B_Model
      • 82.
      • 83. list.Any()
      • 82. dateTime.Psrse();
      • 83.
      • 83. model.LiangLength ?? 0
      • 84. id = Guid.NewGuid()
      • 85. DateTime.Subtract(DateTime t)
      • 86. list.take(100)
      • 87. DateTime.Value.Year
      • 88. var 堆和栈
      • 89. GroupBy 的用法
      • 90. 将string字符串按,拆分并转成网络路径后存入list集合。
      • 91. string.Join("-", z.Files)
      • 92. ToModel() 方法
      • 93. entity
      • 94. LogHelper.LogInfo输出日志
      • 95. lst.Select(Lambda)
      • 96.
      • 97. whereLambda表达式初始值,类似于SQL语句的“where 1=1”
      • 98. string.IsNullOrEmpty()
      • 99. lst.ForEach(Lambda)
      • 100. dao.Table.Any(Lambda)

71. item.label = $“{lstD[i].DeptName}({lstCamera.Count})”;

item.label = $"{lstD[i].DeptName}({lstCamera.Count})";

输出结果如下:
“label”: “潜江市交通运输局(70)”,

72. 定义entity时不写传统的{get;set;}

 public class IPCJobSModel
{public int Id { get; set; }/// <summary>/// 实际结束时间/// </summary>public DateTime? ActualEndTime { get; set; }public string IsOverdue{get{var TempIsOverdue = "NO";DateTime TempActualEndTime = ActualEndTime == null ? DateTime.Now : ActualEndTime.Value;if (TempActualEndTime> HandleEndTime){TempIsOverdue = "YES";}return TempIsOverdue;}}
}

73.

在这里插入图片描述

74. EF多对多

潜江-角色用户关联表

75. DateTime.Now.Subtract(x.GpsTime).TotalHours

List<PersonGps> lstOnPersonGps = lstPersonGps.Where(x => DateTime.Now.Subtract(x.GpsTime).TotalHours <= 0.5).ToList();

76. queryModel.LogDate.Value.Year

77. .net导出Excel

https://blog.csdn.net/zz743830597/article/details/104637050

78. User.Identity.Name

获取当前登录人的name

SysUserService userService = new SysUserService();
string userName = User.Identity.Name;
UserEntity userinfo = userService.GetUserByName(userName);

79.

IQueryable requredDataFields = data.Select(x => new {  x.Title,  x.NestedObject });

80. EF忽略查询(待解决)

利用EF查询数据库时,忽略查询某字段,提高查询效率;

81. A_Model 映射到 B_Model

    /// <summary>/// 扩展工具类/// </summary>public static class Utils{// 运行时映射public static void ReflectCase<Oringin, Target>(Oringin origin, Target target){Type type = origin.GetType();Type type2 = target.GetType();PropertyInfo[] properties = type.GetProperties();for (int i = 0; i < properties.Length; i++){PropertyInfo propertyInfo = properties[i];bool flag = propertyInfo.Name == "Id";if (!flag){PropertyInfo[] properties2 = type2.GetProperties();for (int j = 0; j < properties2.Length; j++){PropertyInfo propertyInfo2 = properties2[j];bool flag2 = propertyInfo.Name == propertyInfo2.Name && propertyInfo.GetValue(origin) != null;if (flag2){propertyInfo2.SetValue(target, propertyInfo.GetValue(origin));}}}}}

82.

        //public string DeleteTimeString//{//    get { return DeleteTime == null ? "" : DeleteTime.Value.ToString("yyyy-MM-dd HH:mm:ss"); }//    set { DeleteTime = string.IsNullOrEmpty(value) ? DateTime.Now : DateTime.Parse(value); }//}

83. list.Any()

确定序列是否包含任何元素。

        // 摘要://     确定序列是否包含任何元素。//// 参数://   source://     要检查是否为空的 System.Collections.Generic.IEnumerable`1。//// 类型参数://   TSource://     source 中的元素的类型。//// 返回结果://     如果源序列包含任何元素,则为 true;否则为 false。//// 异常://   T:System.ArgumentNullException://     source 为 null。public static bool Any<TSource>(this IEnumerable<TSource> source);

82. dateTime.Psrse();

        // 摘要://     将日期和时间的字符串表示形式转换为其等效的 System.DateTime。//// 参数://   s://     包含要转换的日期和时间的字符串。//// 返回结果://     一个对象,它等效于 s 中包含的日期和时间。//// 异常://   T:System.ArgumentNullException://     s 为 null。////   T:System.FormatException://     s 中不包含有效的日期和时间的字符串表示形式。public static DateTime Parse(string s);

83.

public List<ChildrenModel> children { get; set; } = new List<ChildrenModel>();

83. model.LiangLength ?? 0

Dictionary<string, decimal> diclist = new Dictionary<string, decimal>();
diclist.Add("良", model.LiangLength ?? 0);

84. id = Guid.NewGuid()

id = Guid.NewGuid()

85. DateTime.Subtract(DateTime t)

从此实例中减去指定的日期和时间;

DateTime.Now.Subtract(x.GpsTime).TotalHours <= 0.5

86. list.take(100)

取lstOverload集合中的前100条进行遍历操作;更多和skip

foreach (OverloadCtrlEntity en in lstOverload.OrderByDescending(x => x.ArriveDate).Take(100))
{OverLoadModel model = new OverLoadModel();model.OverloadRate = en.OverloadRate;lst.Add(model);
}

87. DateTime.Value.Year

–>学会转换思维,当A.Year 行不通的时候(A 为 DateTime? 类型),可以试试 B.Year。

if (query.Year.HasValue)
{item = item.Where(x => x.RecordTime.Value.Year == query.Year);
}item = item.Where(x => x.RecordTime.Value.Month == query.Month);item = item.Where(x => x.RecordTime.Value.Day == query.Day);

88. var 堆和栈

参考:https://www.cnblogs.com/archor/archive/2011/10/26/3199375.html

89. GroupBy 的用法

List<string> userName = data.GroupBy(x => x.RecorderName).Select(x => x.Key).ToList();

90. 将string字符串按,拆分并转成网络路径后存入list集合。

 string.Split(',').Select(k => Common.FilePathTrans(k, strDirName, strPublishAddr)).ToList());

91. string.Join(“-”, z.Files)

string.Join(",", z.Files) //用,将z.Files中的每个string字符串拼接形成一个字符串

92. ToModel() 方法

public static ShipPortRiskInfoModel ToModel(this ShipPortRiskInfoEntity entity){var m= entity.MapTo<ShipPortRiskInfoEntity, ShipPortRiskInfoModel>();if (entity.IPCJobId.HasValue)m.IsJob = true;elsem.IsJob = false;return m;}
public static CaseInfoModel ToModel(this CaseInfoEntity entity){var m = entity.MapTo<CaseInfoEntity, CaseInfoModel>();var result= m.ExcuteUserIds.Split(',').ToList();SysUserService userService = new SysUserService();var names = new List<string>();result.ForEach(x =>{var user = userService.GetEntity(x.ToInt().Value);if(user != null)x = user.RealName;names.Add(x);});m.ExcuteUserName = string.Join(",", names) ;if (entity.IPCJobId.HasValue)m.IsJob = true;elsem.IsJob = false;return m;}

93. entity

 public class IndexEvaConfigEntity{public IndexEvaConfigEntity(){AssessName = string.Empty;Grade = string.Empty;}public int Id { get; set; }public string AssessName { get; set; }public string Grade { get; set; }[DecimalPrecision(12, 3)]public decimal MinValue { get; set; }[DecimalPrecision(12, 3)]public decimal MaxValue { get; set; }public string Color { get; set; }public int? Width { get; set; }}

94. LogHelper.LogInfo输出日志

	string funcName = MethodBase.GetCurrentMethod().Name;LogHelper.LogInfo(JsonConvert.SerializeObject(grid), funcName);LogHelper.LogInfo(JsonConvert.SerializeObject(model), funcName);LogHelper.Debug(funcName + JsonConvert.SerializeObject(req));

95. lst.Select(Lambda)

var query = routeReposity.Table.Select(x => new {DeleteState = x.DeleteState,RouteCode = x.RouteCode,RouteCharacter = x.RouteCharacter,Id = x.Id,RouteName = x.RouteName,TechLevel = x.TechLevel,RouteLength = x.RouteLength,SourceData = x.SourceData});

96.

protected override IEnumerable<FileSystemConfigurationEntry> ProcessEntries(ICollection<FileSystemConfigurationEntry> entries){entries.ForEach(e =>{Logger.Debug("Processing publisher configuration entry: {0}...", e.FileInfo.Name);var configType = Type.GetType(e.Entry.ConfigurationType);var config = Serialiser.FromJson(e.Entry.Data, configType);if (IsDisabled(config))return;var name = Path.GetFileNameWithoutExtension(e.FileInfo.Name);Container.RegisterInstance(configType, config, name);FindAndExecuteBootstrappers(configType, config);e.Entry.RequiredProperties.AddIfMissing(Tuple.Create(ConfigurationEntry.RequiredPropertyNames.NAME, name));if (string.IsNullOrWhiteSpace(e.Entry.PluginType))return;var pluginType = Type.GetType(e.Entry.PluginType);var pluginName = string.Format("{0}.{1}", pluginType.AssemblyQualifiedName, name);Container.RegisterAsSingletonWithInterception<INotificationEventPublisher, IPublisherFilter>(pluginType,pluginName,new Tuple<Type, string>(configType, name));});return entries;}

97. whereLambda表达式初始值,类似于SQL语句的“where 1=1”

Expression<Func<UserEntity, bool>> whereLambda = x => x.Id > 0; //whereLambda表达式初始值,类似于SQL语句的“where 1=1”

98. string.IsNullOrEmpty()

if (!string.IsNullOrEmpty(queryModel.BtnName)){query = query.Where(x => x.BtnName.Contains(queryModel.BtnName));}

99. lst.ForEach(Lambda)

 model.ForEach(x =>{sql = string.Format(@" -- 桥梁汇总select  0, convert(varchar(64), NEWID()) IsUnique , '桥梁'  Label, count(1) Number ,'qiaoliangguanli' ParentIcon,'#F89017' IconColor  from BMS_D_Bridge left join BMS_S_AssetType B on B.TypeName='桥梁'  {0}union -- 隧道汇总select 1, convert(varchar(64), NEWID()) IsUnique, '隧道' Label, count(1) Number ,'suidaoguanli' ParentIcon,'#00A854'IconColor  from BMS_D_Tunnel left join BMS_S_AssetType B on B.TypeName='隧道'  {0}union-- 涵洞汇总  --暂时无此表select 2,convert(varchar(64), NEWID()) IsUnique, '涵洞' Label, count(1) Number ,'handongguanli' ParentIcon, '##00A854'IconColor from BMS_D_Tunnelunion-- 大类汇总select 3,convert(varchar(64), NEWID()) IsUnique, A.TypeName Label, null as Number,A.Icon ParentIcon,IconColor  from  BMS_S_AssetMainType A where A.TypeName not like '%桥%' and A.TypeName not like '%隧%' and A.TypeName not like '%涵%' and SortCode>0", Important == 0 ? "" : "where B.IsCommonType=1");if (sql != string.Empty){x.children = dao.FindList<AssetChildrenModel>(sql);}// x.children = x.children.Where(xx => xx.Number != null &&  xx.Number > 0).ToList();sql = string.Empty;x.children.ForEach(y =>{switch (y.Label){case "桥梁":sql = string.Format(@" select 'qiaoliangguanli' ParentIcon,'#00a953' IconColor, '一类' Label ,convert(varchar(64), NEWID()) IsUnique union select 'qiaoliangguanli' ParentIcon,'#1a8fff' IconColor, '二类' Label ,convert(varchar(64), NEWID()) IsUnique union select 'qiaoliangguanli' ParentIcon,'#ffc001' IconColor, '三类' Label ,convert(varchar(64), NEWID()) IsUnique union select 'qiaoliangguanli' ParentIcon,'#fa9e47' IconColor, '四类' Label ,convert(varchar(64), NEWID()) IsUnique union select 'qiaoliangguanli' ParentIcon,'#f04033' IconColor, '五类' Label ,convert(varchar(64), NEWID()) IsUnique ");//sql = string.Format(@" select convert(varchar(64), NEWID()) IsUnique,'桥梁'  AssetType,  A.Id AssetId, BridgeName Label,NULL Number,CenterLon Lon,CenterLat Lat, 'dingwei3'  LeafIcon, 'qiaoliangguanli' ParentIcon , B.Id LayerId ,'#F89017' IconColor ,//        (case when a.BridgeLevel in ('四类','五类') then 1 else 0 end) as State, (case when a.BridgeLevel in ('四类','五类') then 'shexiangtou' else '' end) as LeafIcon1 from BMS_D_Bridge  A left join YC_S_MapLayer B//                                on B.LayerName='桥梁'  left join BMS_S_AssetType C on C.TypeName='桥梁' {0}", Important == 0 ? "" : "where C.IsCommonType = 1");break;case "隧道":sql = string.Format(@" select convert(varchar(64), NEWID()) IsUnique,'隧道'  AssetType, A.Id AssetId ,TunnelName Label,NULL Number,ULon Lon,ULat Lat, 'dingwei3'  LeafIcon, 'suidaoguanli' ParentIcon , B.Id LayerId ,'#00A854' IconColor  from BMS_D_Tunnel  A left join YC_S_MapLayer Bon B.LayerName='隧道'   left join BMS_S_AssetType C on C.TypeName='隧道' {0}", Important == 0 ? "" : "where C.IsCommonType = 1");break;case "涵洞":sql = string.Format(@" select convert(varchar(64), NEWID()) IsUnique ,'涵洞'  AssetType,0 AssetId, '涵洞' Label,NULL Number,null  Lon,null  Lat, 'dingwei3'  LeafIcon, 'handongguanli' ParentIcon ,'#F89017' IconColor ");break;default:sql = string.Format(@" select  convert(varchar(64), NEWID()) IsUnique ,B.TypeName  AssetType,  B.TypeName Label,'' LeafIcon, B.Icon ParentIcon, count(1) Number, D.Id LayerId , B.IconColor from  BMS_S_AssetMainType A join BMS_S_AssetType B on A.Id=B.MainTypeId join BMS_D_AssetData C on A.id=C.MainTypeId and B.Id=C.TypeIdleft join YC_S_MapLayer D ON B.TypeName=D.LayerName  where  C.deleteState=0 and  A.TypeName='{0}' {1} group by A.TypeName, B.Id ,B.TypeName,B.Icon,D.Id , B.IconColor", y.Label, Important == 0 ? "" : "and B.IsCommonType = 1");break;}if (sql != string.Empty){if (y.Label == "桥梁"){y.children = dao.FindList<ChildrenModel>(sql);// 自定义排序string[] BridgeLevelSort = new string[] { "一类", "二类", "三类", "四类", "五类" };y.children = y.children.OrderBy(e =>{var index = Array.IndexOf(BridgeLevelSort, e.Label);if (index != -1) return index;else return int.MaxValue;}).ToList();}else{y.children = dao.FindList<ChildrenModel>(sql);}}// y.children = y.children.Where(yy => yy.Number > 0).ToList();sql = string.Empty;y.children.ForEach(o =>{sql = string.Format(@" select convert(varchar(64), NEWID()) IsUnique,'桥梁'  AssetType,  A.Id AssetId, BridgeName Label,NULL Number,CenterLon Lon,CenterLat Lat, 'dingwei3'  LeafIcon, 'qiaoliangguanli' ParentIcon , B.Id LayerId ,'{2}' IconColor ,(case when  d.CameraSerial is not null then 1 else 0 end) as State, (case when d.CameraSerial is not null then 'shexiangtou' else '' end) as LeafIcon1,(case when d.CameraSerial is not null then 'shexiangtou' else '' end) as strToken from BMS_D_Bridge  A left join YC_S_MapLayer Bon B.LayerName='桥梁'  left join BMS_S_AssetType C on C.TypeName='桥梁' left join BMS_D_AssetCameraInfo d on a.Id=d.AssetId where a.BridgeLevel='{0}' {1}", o.Label, Important == 0 ? "" : "and C.IsCommonType = 1", o.IconColor);if (sql != string.Empty){o.children = dao.FindList<ChildrenModel>(sql);}o.children.ForEach(z =>{sql = string.Format(@" select  A.Id AssetId, CenterLon Lon,CenterLat Lat,(case when d.CameraSerial is not null then 1 else 0 end) as State,(case when d.CameraSerial is not null then 'shexiangtou' else '' end) as LeafIcon1,(case when d.CameraSerial is not null then 'shexiangtou' else '' end) as strToken from BMS_D_Bridge A left join BMS_S_AssetType C on C.TypeName = '桥梁' left join BMS_D_AssetCameraInfo d on a.Id=d.AssetId {1} where A.Id={0} ", z.AssetId, Important == 0 ? "" : "where C.IsCommonType = 1");if (sql != string.Empty){z.Palce = dao.FindList<PlaceModel>(sql);z.Palce = z.Palce.Where(zz => zz.Lat.ToString().IndexOf(".") >= 0).ToList();}});});

100. dao.Table.Any(Lambda)

dao.Table.Any(x => x.SourceId == entity.SourceId && x.SourceData == entity.SourceData)

http://chatgpt.dhexx.cn/article/6XXvqVir.shtml

相关文章

List.sort()方法使用拉姆达表达式进行排序的一个例子

这是牛客网华为java题库的一道题&#xff1a;HJ26 字符串排序 题中要求&#xff0c;对字符串中的英文字母不分大小写按照字典顺序排序&#xff0c;遇到相同的字母&#xff0c;要求保持它们的相对顺序不变&#xff0c;非英文字母字符保持原位置不变。例如&#xff1a; 输入&…

拉姆达表达式

1、Queryable 用于拉姆达表达式操作 //---------Queryable<T>,扩展函数查询---------// //---------Queryable<T>,扩展函数查询---------////针对单表或者视图查询//查询所有 var student db.Queryable<Student>().ToList(); var studentDynamic db.Querya…

java 拉姆达表达式_Java8中foreach与拉姆达表达式的组合使用

1. forEach and Map 1.1 通常这样遍历一个Map Map items = new HashMap<>(); items.put("A", 10); items.put("B", 20); items.put("C", 30); items.put("D", 40); items.put("E", 50); items.put("F", 60)…

Matlab系列之数组(矩阵)的生成

从本篇开始&#xff0c;会有一段时间都将用于记录数组、矩阵的操作等等&#xff0c;如果以前没有接触过相关的&#xff0c;可能会觉得要展示的是很复杂的东西&#xff0c;但并不是&#xff0c;这是一个很简单的部分&#xff0c;但也是一个很重要的部分&#xff0c;至少现在的我…

MATLAB-数组的使用

数组的使用&#xff08;持续更新&#xff09; randperm--数组随机排列permute--置换数组维度cat--串联数组squeeze--删除数组中长度为1的维度reshape--重构数组repmat--重复数组副本数组中的&#xff1a;sort-数组的排序dig-创建对角矩阵eig--特征值和特征向量magic--幻方矩阵m…

matlab定义数组和相关函数

matlab作为一个大型的计算软件&#xff0c;里面有许多对数组的操作&#xff0c;所以数组的定义和数组的操作是一个必不可少的部分。 1 数组的定义 在matlab中对数组的定义较为灵活&#xff0c;因为特殊矩阵较多&#xff0c;所以有许多特定的定义方法。比较常见的有三种&#…

Matlab的数组索引

在 MATLAB中&#xff0c;根据元素在数组中的位置&#xff08;索引&#xff09;访问数组元素的方法主要有三种&#xff1a;按位置索引、线性索引和逻辑索引。 按元素位置进行索引 最常见的方法是显式指定元素的索引。例如&#xff0c;要访问矩阵中的某个元素&#xff0c;请依序…

Matlab笔记-数组

一、结构数组的基本使用 结构体的定义即为C语言中结构体的初始化&#xff0c;其引用成员&#xff08;在Matlab中为field,字段的意思&#xff09;和C语言相同。 1、直接赋值 >> student(1).nameSilen; student(1).id1234; student(1).grade[1 2 3;4 5 6;7 8 9]; stude…

matlab三维数组

三维数组的定义&#xff1a;在MATLAB中&#xff0c;习惯性的将二维数组的第一维称为“行”&#xff0c;第二维称为“列”&#xff0c;而于三维数组&#xff0c;其第三维习惯性地称为“页”。 定义一个三维数组&#xff1a; A&#xff08;2&#xff0c;2&#xff0c;2&#xf…

MATLAB基础——关于数组(一)

变量和数组 MATLAB程序的基本数据单元是数组&#xff0c;标量在MATLAB中也被当做数组来处理 数组可以定义为向量&#xff08;一般描述为一维数组&#xff09;或矩阵&#xff08;一般描述为二维或多维&#xff09; 访问数组中的元素&#xff1a;数组名&#xff08;&#xff09;…

Matlab 数组与矩阵

矩阵 1、v21:3:18 ;表示的是从1 开始 18 结束&#xff0c;间隔为3 的一个等差数列v2 1 4 7 10 13 162、linspace(1,10,9);,介于1-10 之间&#xff0c;取9个数&#xff0c;使得他们是一个等差数列 >> linspace(1,10,9)ans 1.0000 2.1250 3.250…

matlab常用的数组操作总结

总结一下需要的matlab数组操作&#xff0c;免得每次都要去官网上找 参考文献&#xff1a;多维数组 - MATLAB & Simulink - MathWorks 中国: https://ww2.mathworks.cn/help/matlab/math/multidimensional-arrays.html#f1-87418 文章目录 1创建并扩展多维普通数组1普通数组引…

MATLAB怎么创建矩阵和数组

参考 MATLAB怎么创建矩阵和数组 - 云社区 - 腾讯云 第一步&#xff1a;首先教给大家如何创建数组&#xff0c;MATLAB创建数组的方法比较简单&#xff0c;我们在MATLAB中输入如下代码&#xff1a;x[2 4 6 8 10] 即可创建数组&#xff0c;数据之间使用空格或者逗号隔开&#xff…

MATLAB 数组计算

✅作者简介&#xff1a;人工智能专业本科在读&#xff0c;喜欢计算机与编程&#xff0c;写博客记录自己的学习历程。 &#x1f34e;个人主页&#xff1a;小嗷犬的个人主页 &#x1f34a;个人网站&#xff1a;小嗷犬的技术小站 &#x1f96d;个人信条&#xff1a;为天地立心&…

MATLAB-数组

数组 数组分类按照数组元素个数与排列方式分类按照数组的存储方式分类 创建数组直接输入函数生成 数组操作获取数组中的元素矩阵元素的引用单个元素的引用多个元素的引用&#xff1a;冒号的特殊用法 各类型数组操作数组的算术操作数组的逻辑运算使用库函数数组连接数组切片数组…

MATLAB中的数组

一、什么是数组 数组是组织成行和列的数据值的组合。 数组可以分为向量和矩阵。 向量通常用来描述只有一维的数组&#xff1b;而矩阵用来描述二维或者多维的数组。 数组在内存中存储是按列存储的。 二、创建和初始化一维或二维数组 1、在赋值语句中初始化 % array1为一维数…

MATLAB学习笔记——数组

MATLAB的数组 数组 数组的创建 &#xff08;1&#xff09;直接输入法 1、建立数组最直接的方法是在命令窗口直接输入数组 2、数组元素间用空格&#xff0c;逗号或分号分隔。 3、空格和逗号分隔建立行向量&#xff0c;元素之间用分号分隔建立列向量。 调用格式&#xff1…

Matlab中的向量和数组(超详细)

Matlab中的向量和数组&#xff08;超详细&#xff09; 文章目录 Matlab中的向量和数组&#xff08;超详细&#xff09;Matlab中的向量介绍创建向量向量的大小索引向量数值索引逻辑索引 缩短向量向量运算算术运算逻辑运算sum()、min()、max()、round()、ceil()、floor()、fix()切…

Windows server :DHCP服务 地址保留DHCP域备份

实验环境&#xff1a;在虚拟机上 一台Windows server 2016 一台Windows 10 1.DHCP 地址保留 我们到server上的服务器管理界面 右上角工具》dhcp 进入dhcp 依次找到作用域 然后我们去看被Windows 10 保留分配的mac地址 可以看到物理地址为&#xff1a;00-0C-29-77-BF-7C 这时再…

计算机ip保留地址,分类ip地址中,保留地址有哪些?具体点说说,作业。

分类ip地址中,保留地址有哪些?具体点说说,作业。以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧! 分类ip地址中,保留地址有哪些?具体点说说,作业。 A类地址中的私有地址和保留地址: ①10.0.0.1到10.255.25…