Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a method hierarchy within a class Pin
MafiaMoe7-Nov-09 10:50
MafiaMoe7-Nov-09 10:50 
GeneralRe: Creating a method hierarchy within a class Pin
Dave Kreskowiak7-Nov-09 11:43
mveDave Kreskowiak7-Nov-09 11:43 
AnswerRe: Creating a method hierarchy within a class Pin
Luc Pattyn7-Nov-09 11:08
sitebuilderLuc Pattyn7-Nov-09 11:08 
QuestionComplex IF Statment Pin
Saksida Bojan7-Nov-09 9:33
Saksida Bojan7-Nov-09 9:33 
AnswerRe: Complex IF Statment Pin
Luc Pattyn7-Nov-09 9:36
sitebuilderLuc Pattyn7-Nov-09 9:36 
GeneralRe: Complex IF Statment Pin
Christian Graus7-Nov-09 9:37
protectorChristian Graus7-Nov-09 9:37 
GeneralRe: Complex IF Statment Pin
Luc Pattyn7-Nov-09 9:40
sitebuilderLuc Pattyn7-Nov-09 9:40 
GeneralRe: Complex IF Statment Pin
Saksida Bojan7-Nov-09 9:48
Saksida Bojan7-Nov-09 9:48 
Is it something like this?
if (name == null || name.Equals("") || ServerName == null || name.Equals(""))

Yes i have read C# book, but quite while ago. And once i have tried using with many OR operators, i didn't got the desired results


Luc Pattyn wrote:

However, the user of your class/method won't like it when your method gives a single exception saying "some parameter is wrong". You really should use one IF per parameter as a minimum.

This class isn't part of GUI.
GeneralRe: Complex IF Statment Pin
Luc Pattyn7-Nov-09 10:00
sitebuilderLuc Pattyn7-Nov-09 10:00 
GeneralRe: Complex IF Statment Pin
PIEBALDconsult7-Nov-09 10:16
mvePIEBALDconsult7-Nov-09 10:16 
GeneralRe: Complex IF Statment Pin
Christian Graus7-Nov-09 10:18
protectorChristian Graus7-Nov-09 10:18 
AnswerRe: Complex IF Statment Pin
Christian Graus7-Nov-09 9:38
protectorChristian Graus7-Nov-09 9:38 
Question[Message Deleted] Pin
ninjatruck7-Nov-09 8:59
ninjatruck7-Nov-09 8:59 
AnswerRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:07
protectorChristian Graus7-Nov-09 9:07 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:23
ninjatruck7-Nov-09 9:23 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:36
protectorChristian Graus7-Nov-09 9:36 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:43
ninjatruck7-Nov-09 9:43 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 10:19
protectorChristian Graus7-Nov-09 10:19 
GeneralRe: problem checking for 404 Pin
Saksida Bojan7-Nov-09 9:40
Saksida Bojan7-Nov-09 9:40 
AnswerRe: problem checking for 404 Pin
Abhishek Sur7-Nov-09 9:19
professionalAbhishek Sur7-Nov-09 9:19 
AnswerRe: problem checking for 404 Pin
Luc Pattyn7-Nov-09 9:33
sitebuilderLuc Pattyn7-Nov-09 9:33 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:35
ninjatruck7-Nov-09 9:35 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:40
protectorChristian Graus7-Nov-09 9:40 
GeneralRe: problem checking for 404 Pin
Luc Pattyn7-Nov-09 9:44
sitebuilderLuc Pattyn7-Nov-09 9:44 
Questionprogram Pin
sujeet3082@yahoo.com7-Nov-09 8:19
sujeet3082@yahoo.com7-Nov-09 8:19 

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.