Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static class Foo{
- private class Bar{
- public int val;
- public Bar(int v)
- {
- val = v;
- }
- }
- public static List<Bar> vals = new List<Bar>();
- public void addVal(int val){
- vals.Add(new Bar(val));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement