我们将 DateTime 的 MinValue 表示为 DateTime.MinValue 但它如何表示为 Byte[]?
当我给出以下内容时,
DALImage.TwinImage = Convert.IsDBNull(reader["TwinImage"]) ?
Byte[].MinValue :
(Byte[])reader["TwinImage"];
- 我收到错误,因为“字节”是一种类型,但像变量一样使用
- 预期语法错误值(在 Byte[] 的 '[]' 部分中)
请帮助作为 C# 编程的新手