Showing posts with label Best Practices. Show all posts
Showing posts with label Best Practices. Show all posts

Best Practices for an Interview - Part 1

Monday, April 4, 2011

For good Best Practices of Interview preparation read the following link,

Best Practices for an Interview - Part 1




www.codecollege.NET | www.interviewsguru.com | www.chitraguptan.com

Daily Tips- Tip #42 -How will you test memory leak in a .NET application?

Wednesday, December 16, 2009


using Perfmon.exe application.


www.codecollege.NET

What is the best practice for calling explicit garbage collections?

Monday, December 14, 2009


You should call the finalizer after gc like,

//c#
GC.Collect();
GC.WaitForPendingFinalizers();


www.codecollege.NET

Which one is a best practice to use DirectCast or CType?


DirectCast


www.codecollege.NET

Which is the best practice in applying multiple attributes to a same member?


Instead of applying it as comma seperated, apply individually in separate lines,
//c#
[Conditional("TRACE")]
[DebuggerStepThrough]
void MyMethod()
{
}


www.codecollege.NET

How will you refine filter condition in Catch blocks and avoid rethrowing an exception?

Monday, December 7, 2009


use When keyword


www.codecollege.NET

Which is the best practice for explicit event subscriptions: using AddHandler and RemoveHandler or WithEvents?


using AddHandler and RemoveHandler


www.codecollege.NET

Which is the best practice for a string constant with backslash or which spans multiple line?


Verbatim(@) strings imporves code readability.


www.codecollege.NET

Which one is faster ChrW or Chr ?


ChrW


www.codecollege.NET

Where will you place your user-interface strings ?

Saturday, December 5, 2009


It is a best practice to place all your user-interface strings in a resource file rather burning them in code.


www.codecollege.NET

best practices against hacking

Saturday, July 11, 2009


Hey guys,

It's important to think about security in order to avoid exploits by malicious third parties ..This link provide details on some types of hacking attempts and how to prevent them..

best-practices-against-hacking

Thanks & regards,
KannappaN Venkatachalam


www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books