Sunday, November 9, 2008

Procedures, StringDictionary & ArrayList MCTS 70-536 Microsoft .NET Certification #6


Procedures, StringDictionary & ArrayList MethodMCTS 70-536
Microsoft .NET Certification
Post #6


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.


StringDictionary – Only strings can be stored as a Value in StringDictionary
Procedures work with a copy of variables when you pass a value type. Therefore, any modifications that were made to the copy would not affect the original value.
ArrayList Method – the following determine whether an tiem exists in the collection
i. Contains can be used to test to whether the item exists in the collection
ii. IndexOf will return if the item does not exist in the collection
Strict conversions enabled - you can convert from int16 to int32 because that is considered a widening conversion, because Int32 can store any value of Int 16, implicit conversion is allowed.


As always all comments welcome.

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

Catto

No comments: