Dim myQs as string = Request.QueryString("qs").ToString
MyQs is nothing if query string has not been passed and causes a string manipulation error later. What is your idea if I still prefer to use "new methods" instead of CStr?
The biggest problem I've been seeing in .NET application is that developers assume that everything just works and they never check for nothing/null values. Your main job as a developer is to add the error handling. Anyone can write a program that has perfect input and assumptions.
Dig Deeper on .NET tutorials, guides and quizzes
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.