.Net Coding Standards Using a prefix "Is" or "Has" on Method Names

Viewed 10950

Is it advisable to prefix an "Is" or a "Has" when creating a method that returns a Boolean. My feeling is that this practice is more suited to defining property names.

Say, we have a method like the following has some logic:

bool IsActivePage()  
{  
 // Some logic to determine if the page is active...   
}

Would it be more preferable to rename the method to GetActivePageStatus and then create a boolean property IsActivePage that returns the result of that method.

What is the .NET standard? All opinions will be appreciated?

7 Answers
Related