-
November 19th, 2014, 01:40 PM
#1
Making a number pattern with a loop
I want to make a number pattern with a loop like this one:
I have now only this:
public partial class index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string c = "";
for (int i = 1; i < 10; i++)
{
lbforloop.Items.Add(c + i++ + i.ToString());
c += " ";
}
}
}
-
November 21st, 2014, 02:46 PM
#2
Re: Making a number pattern with a loop
No one can help me with this??
-
November 29th, 2014, 03:22 PM
#3
Re: Making a number pattern with a loop
Well you did not tell us what kind of problem you are actually having.
You also did not ask a question until the second post and that one is a simple yes or no.
So yes someone can help you but you first need to let us know what problem you are having or ask a specific question. What you have posted looks more like an indirect request that someone do it for you
Always use [code][/code] tags when posting code.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|