这里是关于我们的技术开发环境的信息:
• .NET 6
• C# 10
• Visual Studio 2022
这是我的代码:
public class TestEntity { public int TestMethod() { object? someObject = new { info_id = "TestItOutInfoId", customer_email_address = [email protected], subject = "Resolved", sent_date_time = DateTime.Now, sender_email_address = [email protected] }; someObject. Blah blah do Not know what method can access the aforementioned properties listed above. BlahBlah return 0; } }
我在互联网上找不到任何与将访问 Nullable 实例中的内容“成员变量”的代码相关的内容。
此外,在上面的图片快照中,Visual Studio 2022 Intellisense 没有显示任何允许我访问所述内容“成员变量”的有用方法
有人可以通过发布允许我访问它们的代码来回复吗?