Attribute classes should inherit directly from System.Attribute and should therefore be protected from further inheritance.
Blogs
Design Tips: Do Not Allow Inheritance Of Custom Attributes
July 29th, 2009admin- admin's blog
- Login or register to post comments
- Read more
Performance Tips: Test For Empty Strings Using String Length in C#
July 24th, 2009adminTest for empty strings using string length, not string.Empty or "" to get the best performance.
Because of the implementation of the string class, the most performant method for testing for an empty string is to test for the string length equal to zero. Other methods are effective, but are less performant.
Possible Violations of Rule:
Test for empty string with string.Length instead of string.Empty
Test for empty string with string.Length instead of ""
All rule violations are can be automatically corrected with devAdvantage.
Examples of testing for empty string
[C#]
- admin's blog
- Login or register to post comments
- Read more
What is the command to open event viewer?
July 22nd, 2009adminWhat is the command line command to open event viewer?
How to open an event viewer in windows from command prompt?
To open event viewer from run command type:
eventvwr
- admin's blog
- Login or register to post comments
How to run paint from command line?
July 9th, 2009oopsconceptsHow to run Paint from command line?
To Run Paint from command line just type mspaint in the Run commandline
Here is a list of applications you can run from the command lines using these commands in Windows.
calc -->Opens calculator
cmd -->Opens command prompt window
explorer -->Opens Windows explorer
magnify -->Screen magnifier accessory
msconfig -->System Configuration Utility
mshearts -->Opens Hearts game
msinfo32 -->System Information applet
mspaint -->Opens graphics accessory Paint
notepad -->Notepad accessory
regedit -->Registry editor
- oopsconcepts's blog
- Login or register to post comments
- Read more
10 questions to ask before migrating to Linux
October 24th, 2008admin1. Which desktop are you planning to use?
2. Will that proprietary, mission-critical application run on the new platform?
3. Does your corporate headquarters get a kickback or benefit from Microsoft?
4. Is your IT department up to the task?
5. Is your hardware supported?
6. Do your employees use a lot of removable media?
7. Do your employees use a lot of removable media?
8. Are you using Active Directory?
9. Are you attached to licensing fees for software?
10 ways to avoid office politics
October 24th, 2008admin1. Live at peace with others
2. Be helpful
3. Don’t talk out of school
4. Stay away from gossip
5. Be a straight arrow
6. Stay out of those talk-down-the-boss sessions
7. Address the “politics” issue openly when appropriate
8. Set incentives to foster teamwork
9. Document things
10. Set an example for your staff
Read more on this here
- admin's blog
- Login or register to post comments
10 Things Good or Bad about Google Chrome
October 24th, 2008admin10 Things Good or Bad about Google Chrome
1. Minimal interface
2. Isolated Tabs
3. New tab options
4. Recovery of Session
5. Dynamic Tabs
6. The Incognito mode
7. Web applications
8. Themes
9. Security
10. Performance
Read More on this here
- admin's blog
- Login or register to post comments
10 mistakes to avoid when seeking a new job
October 24th, 2008admin1. Relying on human resources office
2. Using an unprofessional e-mail address
3. Having an unprofessional telephone greeting
4. Overlooking misspellings in your cover letter
5. Dressing inappropriately for the interview
6. Failing to write a post-interview thank you letter
7. Omitting accomplishments from your resume
8. Arriving late for an interview without letting someone know
9. Failing to leverage existing contacts
10. Bad-mouthing a former employer
10 tips to convince your boss to let you work from home
October 24th, 2008admin1. Your place is cheaper than theirs
2. Your productivity will increase
3. Employee retention will go up
4. You’ll increase your billable hours
5. Your relationships will improve
6. You’ll be running with the crowd
7. It’s the green thing to do
8. Politicking will go down
9. You’ll be more accessible
10. It’s a weather-proof arrangement
Read more here
- admin's blog
- Login or register to post comments
Microsoft CRM Interview Questions
October 24th, 2008admin1. Who are the newcomers to the CRM landscape?
2. How is CRM changing and what does the business owner need to be aware of?
3. How much should I plan to spend on a good solution?
4. What are your expectations for CRM in the next five years?
5. What exactly should I be expecting CRM to do for me?
6. Do you have a few key best practices someone considering CRM can use?
7. What are the most common mistakes you see companies make with CRM?
8. What are my best resources for finding out more about CRM?
- admin's blog
- Login or register to post comments
- Read more