Link to home
Start Free TrialLog in
Avatar of SuperJinx
SuperJinx

asked on

Console Applications

Hello,

I have just began to dabble in the world of C# and am using the Microsoft Step By Step C# 2010 book to assist my learning!

I have just finished the chapter on console applications, all it taught me was the details of Visual Studio which were good to know; and how to write a very basic Console.WriteLine("Hello World"); console application, (honestly these Hello World examples are going to kill me).

My question is, I understand that WPF applications are far more modern than console applications, but i cant help but feel that Console Applications could serve a purpose if you need to run a basic programme or whatever. So it's great, i know how to write a very basic console application that executes a line of code when you run it, but like i say i cant help but feel there could be a bit more of the basics to learn with console applications before I move on to WPF applications, some a little more advanced that i can do with console apps that is worth knowing at this stage of my development.. It could be that i'm jumping the gun and once i learn WPF Apps it'll tie in, i don't know, but is there any beginners tips or things you suggest worth learning that isn't going to confuse the living day lights out of me (Baring in mind i am a complete novice with C#).

Thanks
Jinx
ASKER CERTIFIED SOLUTION
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SuperJinx
SuperJinx

ASKER

Great, i think i should just wait i know how a console app works now, when it's necessary i'm sure i'll learn what i need to learn about them.

Whilst you're helping, i'm creating my first WPF app, this book asks me to "Click the form in the Design VIew Window and then display the toolbook again" "In the toolbox click and drag the textbox control onto the form."
This seems unbelivably easy yet i can not decipher how it's done?! How do i display the toolbox 'again' and how do i find the text box control to drag onto the form? Visual Studio 2012 i'm using, any knowledge to let lose on me?
Go to "View", ..click Toolbox.
In the list you should see a textbox control listed.
Drag and drop it onto your form in design view.


Tip: ..double click the textbox control on your form, it will auto-generate an "OnChange" method in your code.  You can use this method to validate input on the textbox control, and it will fire everytime the text in the box changes.
Thank you for your help.