Console.Write

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Heavey

    #1

    Console.Write

    Hello, trying to make the transistion from VB.Net to C# - What is the
    equivalent of the VB.Net Console.Write?

    Thanks in advance for your assistance!!!!
  • Frank Oquendo

    #2
    Re: Console.Write

    Jim Heavey wrote:[color=blue]
    > Hello, trying to make the transistion from VB.Net to C# - What is the
    > equivalent of the VB.Net Console.Write?[/color]

    Console.Write() ;

    Save a small change in syntax, some idiosyncracies and the elimination
    of more than a few clunky VB keywords, you'll find the languages are
    largely the same thanks to the fact they're leveraging the same
    underlying framework.

    --
    There are 10 kinds of people. Those who understand binary and those who
    don't.


    (Pull the pin to reply)


    Comment

    • Joe Mayo

      #3
      Re: Console.Write

      Hi Jim,

      The System.Console. Write() method is part of the .NET Framework Base Class
      Library (BCL) and doesn't belong to any language. So, in this case, you
      would code a Console.Write(" ..."); call the same way in C#.

      Joe
      --
      Learn C# with step-by-step tutorials and practical examples. Start your first program, explore lists and parsing, and understand how .NET runs your code.


      "Jim Heavey" <JimHeavey@nosp am.com> wrote in message
      news:Xns9453D32 21D2E4JimHeavey hotmailcom@207. 46.248.16...[color=blue]
      > Hello, trying to make the transistion from VB.Net to C# - What is the
      > equivalent of the VB.Net Console.Write?
      >
      > Thanks in advance for your assistance!!!![/color]


      Comment

      • Jim Heavey

        #4
        Re: Console.Write


        Thanks... I guess I was using lower case "c"onsole and when I went to the
        documentation to look up "Console" I did not see any thing on that object.

        Again...Thanks

        Comment

        Working...