Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: Customizing Solid Edge Pin
Dave Kreskowiak3-Sep-13 3:38
mveDave Kreskowiak3-Sep-13 3:38 
GeneralRe: Customizing Solid Edge Pin
Rohini Shirke3-Sep-13 18:19
Rohini Shirke3-Sep-13 18:19 
GeneralRe: Customizing Solid Edge Pin
Dave Kreskowiak4-Sep-13 1:09
mveDave Kreskowiak4-Sep-13 1:09 
AnswerRe: Customizing Solid Edge Pin
Abhinav S2-Sep-13 22:51
Abhinav S2-Sep-13 22:51 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:07
rani21073-Sep-13 2:07 
QuestionSqlDataReader is not returning all rows Pin
NarVish2-Sep-13 0:57
NarVish2-Sep-13 0:57 
AnswerRe: SqlDataReader is not returning all rows Pin
Simon_Whale2-Sep-13 1:08
Simon_Whale2-Sep-13 1:08 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 1:37
NarVish2-Sep-13 1:37 
AnswerRe: SqlDataReader is not returning all rows Pin
Simon_Whale2-Sep-13 3:11
Simon_Whale2-Sep-13 3:11 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 5:35
NarVish2-Sep-13 5:35 
AnswerRe: SqlDataReader is not returning all rows Pin
OriginalGriff2-Sep-13 3:46
mveOriginalGriff2-Sep-13 3:46 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 5:36
NarVish2-Sep-13 5:36 
GeneralRe: SqlDataReader is not returning all rows Pin
OriginalGriff2-Sep-13 8:04
mveOriginalGriff2-Sep-13 8:04 
AnswerRe: SqlDataReader is not returning all rows Pin
Eddy Vluggen2-Sep-13 6:23
professionalEddy Vluggen2-Sep-13 6:23 
GeneralRe: SqlDataReader is not returning all rows Pin
Manfred Rudolf Bihy2-Sep-13 8:42
professionalManfred Rudolf Bihy2-Sep-13 8:42 
AnswerRe: SqlDataReader is not returning all rows Pin
Pete O'Hanlon2-Sep-13 8:45
mvePete O'Hanlon2-Sep-13 8:45 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 19:40
NarVish2-Sep-13 19:40 
GeneralRe: SqlDataReader is not returning all rows Pin
Pete O'Hanlon2-Sep-13 20:22
mvePete O'Hanlon2-Sep-13 20:22 
QuestionQuestion about using an if in a string Pin
skeeterz711-Sep-13 17:35
skeeterz711-Sep-13 17:35 
AnswerRe: Question about using an if in a string Pin
Dave Kreskowiak1-Sep-13 18:05
mveDave Kreskowiak1-Sep-13 18:05 
GeneralRe: Question about using an if in a string Pin
skeeterz711-Sep-13 18:31
skeeterz711-Sep-13 18:31 
GeneralRe: Question about using an if in a string Pin
Dave Kreskowiak1-Sep-13 18:37
mveDave Kreskowiak1-Sep-13 18:37 
GeneralRe: Question about using an if in a string Pin
skeeterz711-Sep-13 18:46
skeeterz711-Sep-13 18:46 
GeneralRe: Question about using an if in a string Pin
BillWoodruff1-Sep-13 19:42
professionalBillWoodruff1-Sep-13 19:42 
GeneralRe: Question about using an if in a string Pin
OriginalGriff2-Sep-13 3:58
mveOriginalGriff2-Sep-13 3:58 
No, no, it just doesn't work like that!

Forget computers for a moment, and suppose you are on the phone, talking to a company. The lady at the other end asks you a question "What is your name?"
You reply "Skeeterz".

Does that move you physically into her company, or automatically create a file in her computer?
Of course not! That would be silly...

What it does do is transfer a small amount of information from one place (your home) to another (her office) - and she will make a note of it by jotting it on a piece of paper, perhaps, or typing it into her computer to see if there is any information on you allready.

The computer program you wrote does the same thing: It asks "What is your name?" and the user replies "ashley" - that transfers the information from the user space into the program space, and stores it in memory, putting a "reminder" for what her name is into the variable "herName". In future, whenever you want to use the users name, you just use the variable "herName":
C#
Console.WriteLine("Hello " + herName + " and welcome!");
Or
C#
UserDetails herInfo = LookupInTheDatabase(herName);

This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.

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.