Sunday, November 23, 2008

तोस्त्रिंग एकुँल्स & 70-536 Microsoft .NET Certification Post #13

मेथोड्स 70-536
Microsoft .NET Certification
Post #13


Hey Now Everybody,

Please feel free to check out my MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section. As I stufy for this test I thought this would be good to post on to learn the content & others would be able to view & comment on it.



• All classes inherit the ToString(), Equals(), & GetType() methods from the base Object class
• Reference Types – a type that stores a pointer to the data, rather than the actual data.
• Reference types store a pointer to the data rather than the actual data.
• Types forwarding enable moving a type from one assembly into another assembly without requiring recompiling.
• Exceptions are error condition that cause normal execution to be halted
• Generics use placeholders for their types, which allow multiple types of objects to be used as a parameter
• The following methods all classes have as members:
  • • ToString()
  • • Equals()
  • • GetType()
  • • Short Type – can only store values between -32,769 & 32,769
As always all comments welcome.


That’s all there is there is no more, Bye for now!

Catto

Tuesday, November 18, 2008

ICompareable & Clone 70-536 Microsoft .NET Certification #12

ICompareable & Clone 70-536
Microsoft .NET Certification
Post #12


Hey Now Everybody,

Please feel free to check out my MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section. As I stufy for this test I thought this would be good to post on to learn the content & others would be able to view & comment on it.

• Implementing IDisposable enables developers to call the Dispose() method which allows your class to free any consumed resources without waiting for automated garbage collection.
• Clone() method is inherited from the ICloneable interface
• The Clone() method is a member of the InCloneable interface

• The Dispose() method is a member of the IDisposable interface
• The CompareTo() method is a member of the IComparable interface

As always all comments welcome.

That’s all there is there is no more, Bye for now!

Catto

Cultures 70-536 Microsoft .NET Certification #11

Cultures 70-536
Microsoft .NET Certification
Post #11


Hey Now Everybody,

Please feel free to check out my MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section. As I stufy for this test I thought this would be good to post on to learn the content & others would be able to view & comment on it.

• Neutral cultures are language, but not region specific. Neutral culture names are in the form xx, with only two lowercase characters.
• Cultures with names in the format xx-XX are specific cultres & could be retrieved using CultureInfo.GetCulturs(CultureTypes.SpecificCultures)
• CultureInfo objects examples: en, ko, ro
• Normal execution of program logic should not cause an exception. You should throw an exception whenever something unexpected happens, including receiving a parameter that is out of range.

As always all comments welcome.

That’s all there is there is no more, Bye for now!

Catto

Sunday, November 16, 2008

IComparer 70-536 Microsoft .NET Certification #10

IComparer 70-536
Microsoft .NET Certification
Post #10


Hey Now Everybody,

Please feel free to check out my MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section. As I stufy for this test I thought this would be good to post on to learn the content & others would be able to view & comment on it.


• IComparer – is an interface that should be implemented when you are creating a new collection type that must be sorted by using Array Sort.
• CompartTo() method is a member of the IComparable interface
• Use the Icomparer interface for collections that must be sorted
• The ICollection interface is the base interface for classes in the System Collections namespace. It does not support sorting
• The IDictionary interface is the base interface for nongeneric collections of key/value pairs. It does not support sorting.
• The IEqualityComparer interface supports only equality comparisons.

As always all comments welcome.

That’s all there is there is no more, Bye for now!

Catto

Thursday, November 13, 2008

Event Handler 70-536 Microsoft .NET Certification #9

Event Handler 70-536
Microsoft .NET Certification
Post #9


Hey Now Everybody,

Please feel free to check out my
MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section.

• Event Handler delegates standard parameters are objects & EventArgs:
• Event handler delegates require two parameters an instance of the object class & an instance of the EventArgs class
• The EventHandler class is a predefined delegate that specifically represents a€n event handler method for an event that does not generate data. It’s not a parameter for an event handler delegate
• the Delegate class is the base class for delegate types. It’s not a parameter for event handler delegates.
• the Event class is the base event for event types. It’s not a parameter for event handler delegates


As always all comments welcome.

That’s all there is there is no more, Bye for now!

Catto

Boxing, Catch Clauses n Overiding Structs 70-536 Microsoft .NET Certification #8

Boxing, Catch Clauses & Overiding Structs
70-536
Microsoft .NET Certification
Post #8


Hey Now Everybody,

Please feel free to check out my
MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section.

• Correct order for Catch clauses - order from most specific to most general
• Overriding Structures – Reasons to override a method within a structure
i. To avoid boxing
ii. To Return something other than the type names
• Boxing – should be avoided since it adds overhead.


As always all comments welcome.

That’s all there is there is no more, Bye for now!

Catto

Wednesday, November 12, 2008

Stack, Link Lists, Finally Block and HashTable 70-536 Microsoft .NET Certification #7

Stack, Link Lists, Finally Block & HashTable 70-536
Microsoft .NET Certification
Post #7


Hey Now Everybody,

Please feel free to check out my
MCTS 70-536 reference page on Chris Catto.com. It’s a page with a summary of all of my posts.
This post is on section 1. Developing Application that use system types & collections. Here are a few important concepts from the 1st section.

• Finally Block - Use Finally Blocks for code that should run whether or not an exception occurs
• Linked Lists – can add item in the following places
i. Before or After any specific node
ii. At the Beginning or End of the LinkedList
• Stack – retrieves items as Pop method in the LIFO Last In First Out
• Adding Key to Hashtable – what methods can be called on the key to determine if it’s unique
i. GetHashCode - hash value from the object is used to see whether the hash has been used in the collection
ii. Equals - If two hash values are identical Equals can be called to determine whether two objects are in fact equal before assigning the value to a key


As always all comments welcome.

That’s all there is there is no more, Bye for now!

Catto