help me in my C# project

Talk about "WhatEVER !"..
Post Reply
Message
Author
mike.a0524
Posts: 1
Joined: Wed Nov 21, 2012 8:33 am
Location: Karcag, Hungary

help me in my C# project

#1 Post by mike.a0524 » Wed Nov 21, 2012 8:34 am

Hi all,

I've got a task from my teacher. We're working on an C#.NET application that makes it possible to send free SMS through a gateway. I found an information and a gateway on that page (ozekisms.com/index.php?owpn=315) that seems to be working. Here a C#.NET SMS demo project is provided with full source code. Do you have any suggestions to my project? Any useful idea?

Many Thanks

Mike

wolfman
Senior Member
Senior Member
Posts: 837
Joined: Sat Jun 19, 2004 8:40 pm
Location: Pine Grove, PA

Re: help me in my C# project

#2 Post by wolfman » Wed Nov 21, 2012 9:34 am

Welcome to the forum.

The internet is a great source for research. You've used it to find an example that does what you want to do. However, in this case you've got a homework assignment to write a C# application to send SMS through a gateway. What I'd recommend you do, is review the code in the sample project you found - try and read and understand what it is doing. Think about why it was written that way - what was the logic the developer had in mind when writing it. Pay close attention to things like error handling, the way the code is broken up into methods and classes, etc.

Now, grab a blank piece of paper and write out in English what you want to do to satisfy your assignment. Something like "User will browse to the web site and see a page where they can enter an SMS address and message. They can press send after entering a message and get a confirmation the message was sent. They can also clear the entered text to start over".

Then think for a bit in your mind how you'd do that in code - use the blank paper to identify if there are any classes or methods you need to implement.

Open your IDE. Create a new project - don't use the one you found, you have to learn by doing. Now start creating your project and build it step by step. Don't type it all in the way you think it should be and then run it and be frustrated that it doesn't work. While you are learning, write a line or two of code and then run the program to make sure it's doing what you want. Be liberal with output statements to verify your work. Learning to write code requires that you write a lot of code. Go in small steps. Break the big problem down into small problems. Tackle them one at a time.

Good luck.

P.S. When you get done with the program and when it's working the way it should for the assignment, go back and look over it and see if you'd do anything differently. If you want to experiment with changing the code, that's OK - but create a new project for the experimentation so that you don't lose something that works to hand in. :) Be inquisitive - it's the way you learn and really understand...
Thinkpad T420 | Core i-5 2520M | 16gb RAM | 120gb Intel 520 SSD + 750gb 7200 RPM | 6300 N | Ubuntu 12.04 x64
Desktop: AMD FX-8350 (8 cores) | 32gb ECC RAM | 240gb Intel 530 SSD + 1tb 7200 RPM | Ubuntu 14.04 x64 | HP ZR24w
Previous Thinkpads: A21m, R40, X61, T410

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Off-Topic Stuff”

Who is online

Users browsing this forum: No registered users and 3 guests