Warning, /frameworks/syntax-highlighting/autotests/folding/csharp.cs.fold is written in an unsupported language. File is not indexed.
0001 // this is a single-line comment 0002 // NOTE ### FIXME TODO 0003 0004 <beginfold id='1'>/*</beginfold id='1'> this is a 0005 multi-line comment 0006 <endfold id='1'>*/</endfold id='1'> 0007 0008 <beginfold id='1'>/*</beginfold id='1'> this is another 0009 * multiline comment 0010 * NOTE ### FIXME TODO 0011 <endfold id='1'>*/</endfold id='1'> 0012 0013 <beginfold id='2'>/** </beginfold id='2'>this is another 0014 * multiline comment 0015 * NOTE ### FIXME TODO 0016 <endfold id='2'>*/</endfold id='2'> 0017 0018 // simple assignment 0019 var i = 5; 0020 0021 var j = // assignment missing, still should be nice highlighting 0022 var k // assignment missing, still should be nice highlighting 0023 0024 // test a string 0025 var s = "Hello World!"; 0026 0027 // arr is an array 0028 var arr = new[] <beginfold id='3'>{</beginfold id='3'> 0, 1, 2, 3, 4 <endfold id='3'>}</endfold id='3'>; 0029 0030 // expr is compiled as IEnumerable<Customer> 0031 // or perhaps IQueryable<Customer> 0032 var expr = 0033 from c in customers 0034 where c.City == "London" 0035 select c; 0036 0037 // compiled anonymous type 0038 var anon = new <beginfold id='3'>{</beginfold id='3'> Country = "Germany", Inhabitants = 80000000 <endfold id='3'>}</endfold id='3'>;