我一直在尝试这几种不同的方式,但我得出的结论是它无法完成.这是我过去从其他语言中享受的语言功能.这只是我应该注销的东西吗?
.net c# clr
像我们一样Session.Add("LoginUserId", 123); ,然后我们可以Session["LoginUserId"]像Array一样访问它们如何实现它?
Session.Add("LoginUserId", 123);
Session["LoginUserId"]
.net c# arrays indexer
.net ×2
c# ×2
arrays ×1
clr ×1
indexer ×1