[Mono-bugs] [Bug 72043][Cos] New - The String.Format documentation shows {{ formatted as {{ in sample output. My test case shows that it formats as a single { as expected.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Feb 2005 01:52:08 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ayerkes@speakeasy.net.

http://bugzilla.ximian.com/show_bug.cgi?id=72043

--- shadow/72043	2005-02-01 01:52:08.000000000 -0500
+++ shadow/72043.tmp.10217	2005-02-01 01:52:08.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 72043
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ayerkes@speakeasy.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: The String.Format documentation shows {{ formatted as {{ in sample output.  My test case shows that it formats as a single { as expected.
+
+it's minor, but the documentation for String.Format shows that a format
+string containing {{ outputs {{.  It outputs { as expected.
+
+test case:
+
+using System;
+
+class testbrace {
+        public static void Main() {
+                string s = String.Format("{{0}}");
+                Console.WriteLine(s);
+        }
+};
+
+my output:
+{0}