Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想找到 a 的大小MemoryCache。
MemoryCache
MemoryCache _cache = MemoryCache.Default; _cache.Add("key", "value"); FindSize(_cache);
我想实现该FindSize()方法。
FindSize()
恐怕您在运行时找不到 .NET 对象的大小。有关更多详细信息,请参阅这些答案:
你需要_cache.Count()价值还是不同的东西?
_cache.Count()
我正在编写代码: <?PHP $where='<something'; echo $where; ?> 但它不会回显任何内容,直到我将字符串 $where 更改为 '< something'(在“<”之后添加一个空格),为什么?
<?PHP $where='<something'; echo $where; ?>
它可能会将 < 编译为某些标