Handle it like a pro. :)

  1. string multiline = string.Join(Environment.NewLine  
  2.     , "----------------------------------------------"  
  3.     , "Bill of Materials"  
  4.     , "----------------------------------------------"  
  5.     , "Rectangle (10,10) width=30 height=40"  
  6.     , "Square (15,30) size=35"  
  7.     , "Ellipse (100,150) diameterH = 300 diameterV = 200"  
  8.     , "Circle (1,1) size=300"  
  9.     , "Textbox (5,5) Text=\"sample text\""  
  10.     , "----------------------------------------------");  

Newer Posts Older Posts Home

Blogger Syntax Highliter