Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to run commands in command prompt in remote computer and save output in local file Pin
Abhinav S4-Nov-13 20:11
Abhinav S4-Nov-13 20:11 
AnswerRe: how to run commands in command prompt in remote computer and save output in local file Pin
Pete O'Hanlon4-Nov-13 20:04
mvePete O'Hanlon4-Nov-13 20:04 
GeneralRe: how to run commands in command prompt in remote computer and save output in local file Pin
superselector4-Nov-13 21:07
superselector4-Nov-13 21:07 
AnswerRe: how to run commands in command prompt in remote computer and save output in local file Pin
Bernhard Hiller4-Nov-13 21:24
Bernhard Hiller4-Nov-13 21:24 
GeneralRe: how to run commands in command prompt in remote computer and save output in local file Pin
superselector5-Nov-13 1:32
superselector5-Nov-13 1:32 
GeneralRe: how to run commands in command prompt in remote computer and save output in local file Pin
Ron Nicholson5-Nov-13 5:07
professionalRon Nicholson5-Nov-13 5:07 
AnswerRe: how to run commands in command prompt in remote computer and save output in local file Pin
jschell5-Nov-13 9:07
jschell5-Nov-13 9:07 
Questionerrors Pin
Member 103798864-Nov-13 10:17
Member 103798864-Nov-13 10:17 
Hi I am just starting out using c# and I have followed a tutorial i think but i am getting errors
------------------------------------------------
namespace SkiTrip
{
Class Student
{
private string name;
private decimal totalPaid;
private bool canTravel;


//Here write the properties
public void setName (string newName)
{
name = newName;
}

public string getName ()
{
return name;
}
}

--------------------------------------------
Error 1 A namespace cannot directly contain members such as fields or methods

Error 2 x 4 Expected class, delegate, enum, interface, or struct

--------------------------------------------

help really appreciated

mark
AnswerRe: errors Pin
Ron Beyer4-Nov-13 10:43
professionalRon Beyer4-Nov-13 10:43 
GeneralRe: errors Pin
Member 103798864-Nov-13 10:57
Member 103798864-Nov-13 10:57 
GeneralRe: errors Pin
Bernhard Hiller4-Nov-13 21:27
Bernhard Hiller4-Nov-13 21:27 
GeneralRe: errors Pin
Richard MacCutchan4-Nov-13 22:41
mveRichard MacCutchan4-Nov-13 22:41 
QuestionEnglish to Arabic text for printing in Arabic Pin
Aswartha Vamsi4-Nov-13 5:35
Aswartha Vamsi4-Nov-13 5:35 
AnswerRe: English to Arabic text for printing in Arabic Pin
Richard MacCutchan4-Nov-13 6:12
mveRichard MacCutchan4-Nov-13 6:12 
AnswerRe: English to Arabic text for printing in Arabic Pin
Ravi Bhavnani4-Nov-13 6:51
professionalRavi Bhavnani4-Nov-13 6:51 
QuestionList problem ! Pin
_Q12_3-Nov-13 15:18
_Q12_3-Nov-13 15:18 
AnswerRe: List problem ! Pin
Abhinav S3-Nov-13 19:13
Abhinav S3-Nov-13 19:13 
GeneralRe: List problem ! Pin
_Q12_3-Nov-13 19:47
_Q12_3-Nov-13 19:47 
AnswerRe: List problem ! Pin
OriginalGriff3-Nov-13 22:04
mveOriginalGriff3-Nov-13 22:04 
AnswerRe: List problem ! Pin
Richard MacCutchan3-Nov-13 22:10
mveRichard MacCutchan3-Nov-13 22:10 
AnswerRe: List problem ! Pin
Paulo Augusto Kunzel4-Nov-13 3:02
professionalPaulo Augusto Kunzel4-Nov-13 3:02 
AnswerRe: List problem ! Pin
Pete O'Hanlon4-Nov-13 3:24
mvePete O'Hanlon4-Nov-13 3:24 
Questionalways black screen Pin
josephdalebert2-Nov-13 23:33
josephdalebert2-Nov-13 23:33 
AnswerRe: always black screen Pin
Richard Andrew x643-Nov-13 13:20
professionalRichard Andrew x643-Nov-13 13:20 
QuestionC# Generic Dictionary ordered by Value: is it really ordered ? Pin
BillWoodruff2-Nov-13 8:05
professionalBillWoodruff2-Nov-13 8:05 

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.