.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Print Diamond of star in c sharp .net

Posted By: Aamrapali Tamgadge     Posted Date: September 20, 2012    Points:5   Category :C#
Hello sir I want to Print the diamond of star as follows pls can anyone suggest me the solution for this


*
* *
* * *
* *
*


Responses
Author: Narayanan             
Posted Date: September 25, 2012     Points: 20   

Hi,
Where to print like TextBox Control?Please explain your query.

Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
Author: Narayanan             
Posted Date: January 03, 2013     Points: 20   

Hi,
try this Code
textBox2.Text = "*\r\n**\r\n***\r\n**\r\n*";


Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend