vb.net console apps syntax ?

  • Thread starter Thread starter D.J.
  • Start date Start date
D

D.J.

I've dug thru the help files in vb.net ver 1.0 and I've purchased
several books. I also searched various web sites.

But I cannot find detailed information on a start to finish console
application inputing integers and text, using separate input lines.

I do have experience with pascal and earlier forms of basic. So its
the syntax I'm not sure of.

Are there any web sites or books that cover this ?

I know I could probably do all of this in a gui, but I choose to use
a console app.

Thanks for any help,
JimP.
 
Hello,

D.J. said:
I've dug thru the help files in vb.net ver 1.0 and I've purchased
several books. I also searched various web sites.

But I cannot find detailed information on a start to finish console
application inputing integers and text, using separate input lines.

\\\
Console.Write("Name: ")
Dim s As String = Console.ReadLine()
Console.WriteLine("You entered ""{0}"".", s)
///

HTH,
Herfried K. Wagner
 
] have a look at console.readline() in the doc's

the book that came with my copy of vb.net was a set of excerpts from
4 books. Nothing else in there. Unfortunately, it didn't contain the
info I needed. I got the minimal 'home user' version.

Thanks.
JimP.
 
] \\\
] Console.Write("Name: ")
] Dim s As String = Console.ReadLine()
] Console.WriteLine("You entered ""{0}"".", s)
] ///

Thanks, I'll try that.

I think I did have something similar, but when I put it into a loop,
to read multiple integer values in and add them together, etc. it
didn't work. Probably I misunderstood vb.net arrays.

JimP.
 
Back
Top