heeeeeeeeeeeeeeeeeeeeeeeeelp me

  • Thread starter Thread starter sahel
  • Start date Start date
S

sahel

hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me
i want to write a program that it gets a number from user then save it
in filestream
i mean to see tahat number ever time that i want at that file
i need a help
 
hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me
i want to write a program that it gets a number from user then save it
in filestream
i mean to see tahat number ever time that i want at that file
i need a help

Why don't you ask your teacher to write it for your?
 
sahel said:
hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me

The two statements above are in contradiction. Do you want to write the
program? Or do you want someone else to write the program? You can't
have both.

Some other suggestions:

– Please do not multi-post. If you feel your question really belongs
in more than one newsgroup, learn to cross-post properly and do that instead

– Please write useful, informative "Subject:" text. Things like
"??????????????" and "heeeeeeeeeeeeeeeeeelp me" are almost entirely
non-descriptive, and offer no additional information beyond what any
intelligent person could infer simply from the fact that the message has
been posted to the newsgroup at all.

The above are not only things you should do in order to be a better
community member. If you fail to make it a habit to follow these
conventions when you post, you will find that many people become
uninterested in replying at all, never mind helping you.

Pete
 
sahel said:
hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me

The two statements above are in contradiction.  Do you want to write the
program?  Or do you want someone else to write the program?  You can't
have both.

Some other suggestions:

    Please do not multi-post.  If you feel your question really belongs
in more than one newsgroup, learn to cross-post properly and do that instead

    Please write useful, informative "Subject:" text.  Things like
"??????????????" and "heeeeeeeeeeeeeeeeeelp me" are almost entirely
non-descriptive, and offer no additional information beyond what any
intelligent person could infer simply from the fact that the message has
been posted to the newsgroup at all.

The above are not only things you should do in order to be a better
community member.  If you fail to make it a habit to follow these
conventions when you post, you will find that many people become
uninterested in replying at all, never mind helping you.

Pete

i really dont want other to write a program for me
i dont know how to write a code for it
but actually thanks of your suggestions
bye
 
sahel said:
hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me

The two statements above are in contradiction. Do you want to write the
program? Or do you want someone else to write the program? You can't
have both.

Some other suggestions:

Please do not multi-post. If you feel your question really belongs
in more than one newsgroup, learn to cross-post properly and do that
instead

Please write useful, informative "Subject:" text. Things like
"??????????????" and "heeeeeeeeeeeeeeeeeelp me" are almost entirely
non-descriptive, and offer no additional information beyond what any
intelligent person could infer simply from the fact that the message has
been posted to the newsgroup at all.

The above are not only things you should do in order to be a better
community member. If you fail to make it a habit to follow these
conventions when you post, you will find that many people become
uninterested in replying at all, never mind helping you.

Pete
i really dont want other to write a program for me
i dont know how to write a code for it
but actually thanks of your suggestions
bye

Then perhaps you should pick up a book and learn how to code in .NET? I
mean I'd like to be a rocket scientist but I can't just post a message
asking someone to make me one.

-Scott
 
sahel said:
hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me
i want to write a program that it gets a number from user then save it
in filestream
i mean to see tahat number ever time that i want at that file
i need a help

Your question is far too vague for anyone to give you a definitive
answer. I'll assume that you know how to create a console application
project and compile the code, so I'll give you some pointers on methods
that can be useful:

If you want to get input from the user you can use the Console.ReadLine
method.

If you want to convert the input into a number, you can use the
Int32.Parse or Double.Parse methods, depending on what kind of number
you allow.

Using just a FileStream object to write to a file is a bit tricky, as it
only handles byte data, not text. You might want to use a StreamWriter
to do the text encoding for you to make it easy to write a string to the
file.

To write a single string to a file, you might simply want to use the
File.WriteAllText method, which will open the file, encode your text,
write it to the file, and close the file for you.
 
Back
Top