Click here to Skip to main content
14,772,033 members
Home » Discussions » .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: [VB.NET 2008] How to get control on objects created at runtime Pin
Eddy Vluggen7-Dec-12 2:16
professionalEddy Vluggen7-Dec-12 2:16 
QuestionTesting Practices Pin
AnalogNerd5-Dec-12 5:44
MemberAnalogNerd5-Dec-12 5:44 
AnswerRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:36
professionalEddy Vluggen5-Dec-12 6:36 
GeneralRe: Testing Practices Pin
AnalogNerd5-Dec-12 6:45
MemberAnalogNerd5-Dec-12 6:45 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:53
professionalEddy Vluggen5-Dec-12 6:53 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 7:29
mveDave Kreskowiak5-Dec-12 7:29 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 7:26
mveDave Kreskowiak5-Dec-12 7:26 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 7:34
professionalEddy Vluggen5-Dec-12 7:34 
Dave Kreskowiak wrote:
Personally, I would be checking to see if an actual string was passed in, THEN

The parameter only accepts strings, making this test superfluous.

Dave Kreskowiak wrote:
stripping the data of leading and trailing whitespace if required and then checking for an empty string. String.IsNullOrEmpty doesn't check to see if the string contains non-whitespace characters.

Personally, I don't care for "whitespace"; if a user wants to store three spaces, a tab and a newline, then that's what gets stored. The only place where you "might" want to check it, is when validating input. Remember the NT4-server shutdown dialog? Required a non-null "reason". Did it help? No, a single period was "reason" enough.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 10:55
mveDave Kreskowiak5-Dec-12 10:55 
GeneralRe: Testing Practices Pin
Eddy Vluggen6-Dec-12 1:08
professionalEddy Vluggen6-Dec-12 1:08 
QuestionHow to make a list view and gallerie view on a product page list on some e-commerce Pin
El Dev4-Dec-12 1:19
MemberEl Dev4-Dec-12 1:19 
AnswerRe: How to make a list view and gallerie view on a product page list on some e-commerce Pin
Eddy Vluggen4-Dec-12 1:37
professionalEddy Vluggen4-Dec-12 1:37 
Questionframework 2.0 and win98 Pin
caradri3-Dec-12 23:37
Membercaradri3-Dec-12 23:37 
AnswerRe: framework 2.0 and win98 Pin
Richard MacCutchan4-Dec-12 0:01
mveRichard MacCutchan4-Dec-12 0:01 
AnswerRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:04
professionalEddy Vluggen4-Dec-12 0:04 
AnswerRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:07
mvePete O'Hanlon4-Dec-12 0:07 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:31
professionalEddy Vluggen4-Dec-12 0:31 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:38
mvePete O'Hanlon4-Dec-12 0:38 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:43
professionalEddy Vluggen4-Dec-12 0:43 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:41
mvePete O'Hanlon4-Dec-12 0:41 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:25
Membercaradri4-Dec-12 1:25 
GeneralRe: framework 2.0 and win98 Pin
Dave Kreskowiak4-Dec-12 5:11
mveDave Kreskowiak4-Dec-12 5:11 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:23
Membercaradri4-Dec-12 1:23 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 1:36
professionalEddy Vluggen4-Dec-12 1:36 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 2:52
Membercaradri4-Dec-12 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.