I did this at University last year. Had to feed in dimensions and have it print a square of that size. Had to do it with triangles and hexegons aswell.
You need a for loop.
i tried ure code but i have a problem it says: Error 1 The name 'avatar' does not exist in the current context
sir Im really sorry. Im a beginner in c#, my teacher just give me us an exercise when we first met. den i really didnt understand a little about programming coz our teacher here is, just give us the code and we will self study that code, but i really cant understand whats that code for. Our teacher here didnt explain very well every codes. They think that were genius but were not. thats why i keep myself bc study and searching about whats that code for but it doesnt really helps me a lot but a little bi. I really want to have a teacher who can explain very well in every code. Most of the student here has no knowledge\learning in programming. thats why i really disappointed how da teacher teachs. I really want to become a programmer but now I doubt it.
If you don't understand, grab a book from your library, or ask one of the teachers for help. Last thing you want is to fail and exam because you don't understand.
You should really understand the fundementals such as for loops. Thats really as basic as it gets. Do yourself a favour ... because I've been in your shoes. Go grab a book and spend a day with it before you attempt to code a solution to the problem :) My bit of advice.
You need a for loop over all of the rows, a for loop for each row (with an if statement to switch from printing spaces to printing stars (so at column a and column b I need a star, the rest I need spaces)). It sounded like you had a lot of it, just put some " " spaces in where appropriate.