1. System.object is the base class for all data types.
2. Reference types derive directly from system.object
3. value types derive from system.valuetype which in turn derives from system.object
4. system.boolean takes up 1 byte
5. system.char takes up 2 bytes
6. Double takes up 8 bytes
7. system.string is a reference type
8. All reference types or objects are managed by the GC on the GC heap.
9. If you attempt to perform an operation against a null, you'll ordinarily receive a
NullReferenceException in response
10. value types can store on the execution stack or on the heap managed by the GC
11. value types cannot have parameterless constructors
12. use sizeof(T) to find size of a value type
13. datetime is a value type
14. private is the default visibility type for MEMBERS
15. assemblty is the default visibility for TYPES
16. shared members can only access other shared members belonging to the same type and not to any instance members. Not true vice versa.
17. by default int x is 4 bytes
18. constant fields are shared by default since all instances of the class have the same value.
19, shared methods have no me pointer
20. byval is default
21. all methods in vb.net are virtual by default.
22. A virtual method is one which can be overrided
22. methods must declare them to be overridable (not default) to allow base classes to change their implementation
22. shadow variable is a local variable within a function with the same name as a member variable of the type class
23. system.gc.collect() manually triggers garbage collection
24. The Exception is the ultimate base class for any exceptions in VB.NET
25. Environment.Systemdirectory is used to return a string to the windows folder
26. Encoding.ASCII.GetBytes("hi rochak") to convert string to a bytearray.
27. closing the stremwriter causes the data to be flushed, but doing so will also close the underlying stream