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.
public string Process<T>(string name, string address) { var dataObj= new Data<T>(); List<T> currentList= dataObj.GetAll(name); }
现在我想在当前列表中搜索地址。客户端将调用 T,例如 - Process(Domain)("pc1","172.17.2.1")。域类包含名称和地址属性。GteAll 将返回所有值。
尝试关注
IEnumerable<T> myEnumerable = currentList.Select(current => current.address = address);
getThis 只是一个个人学习问题。我想检索我的函数 $page->content_start(); 之间的所有内容;和 $page->content_end(); 获得它的最佳方法是什么?我不想包含它或回应它,这可能吗?
非常感谢,非常感谢您的建议
<?php include 'pages/indexpage.class.ph