摘要:
//编写一个程序,对输入的4个整数,求出其中的最大值和最小值,并显示出来。 int num1 = Convert.ToInt32(Console.ReadLine()); int num2 = Convert.ToInt32(Console.ReadLine()); int num3 = Conve 阅读全文
摘要:
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public class Entity { [Key,Column(Order 阅读全文
摘要:
Sequence contains no matching element问题描述 InvalidOperationException: Sequence contains no matching element 问题原因使用LinQ进行查询时使用到了First,当First没有找到满足条件的元素时 阅读全文
摘要:
关键错误点Unable to cast object of type 'System.Int32' to type 'System.String'.提示是无法将“System.Int32”的对象强制转换为“System.String”。于是我就找了所有使用Int的地方,终于发现 /// <summa 阅读全文