KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
A) In the following code, will the method DataTools.LoadSearchList() only be called once, or every time the property is being accessed? public static IEnumerable<string> SearchWordList { get { return DataTools.LoadSearchList(); } } B) Is there any difference to this? public static IEnumerable<string> SearchWordList = DataTools.LoadSearchList();
Tags (comma-separated)
Save Edits
Cancel