Hello is it possible to use the " character in a printf statment?? thanks
C# doesn't have a printf()....It is the WriteLine() that you are wanting...and yes you can use the " in it, but you need to escape it with a \ example Code: using System; Class myClass { public static void Main() { Console.WriteLine("This is a \"real\" test."); } } it displays: This is a "real" test.
using System; Class myClass { public static void Main() { Console.WriteLine("This is a \"real\" test."); } }
Last edited by Memnoch1207; Jul 13th, 2003 at 08:46 PM.
Being educated does not make you intelligent. Need a weekend getaway??? Come Visit
Forum Rules