Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Foo f;
- f = new Foo();
- Foo otherFoo;
- otherFoo = f;
- f.IsFoo = true;
- bool isotherFooFoo = otherFoo.IsFoo;
- Foo f = new Foo();
- Class ABC
- {
- string name="";
- public ABC()
- {
- this.name = "A1";
- }
- public ABC(name)
- {
- this.name = name;
- }
- }
- ABC a1 = new ABC();
- ABC a1 = new ABC("James");
- an object is an instance of a class
- an object = instance of a class
- an object = instance
Add Comment
Please, Sign In to add comment