Results 1 to 4 of 4

Thread: Console.WriteLine methods

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474

    Console.WriteLine methods

    I don't understand the difference between these two methods and why the latter can not be used in Vb .NET, C# and JScript (???) . Would you please explain?

    Thanks

    --------------------------
    Console.WriteLine Method (String, Object, Object, Object)
    Writes the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.

    --------------------------
    Console.WriteLine Method (String, Object, Object, Object, Object, ...)
    Writes the specified objects and variable length parameter list, followed by the current line terminator, to the standard output stream using the specified format information.

    This method is not CLS-compliant.
    [Visual Basic] This method cannot be used in Visual Basic.

    [C#] This method cannot be used in C#.

    [JScript] This method cannot be used in JScript. ??? (Shouldn't it be J#??)
    Last edited by Lunatic3; Dec 12th, 2003 at 11:28 PM.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width