58
1
using System;
2
using System.Collections.Generic;
3
4
public class MyObject
5
{
6
private int attribute1;
7
private int attribute2;
8
private int attribute3;
9
10
public int Attribute1 {get; set;}
11
public int Attribute2 {get; set;}
12
public int Attribute3 {get; set;}
13
14
}
15
16
public class Program
17
{
18
public static Program prg;
19
20
public string showCapacityWithSize(int size)
21
{
22
List<MyObject> list = new List<MyObject>();
23
for(int i=0; i<=size; i++)
24
{
Cached Result
*
**
***
****
*****
******
*******
********
*********