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

Saturday, November 8, 2008

IEQualityComparer , Dequeue Method MCTS 70-536 Microsoft .NET Certification Post # 5

IEQualityComparer, Dequeue Method
MCTS 70-536
Microsoft .NET Certification
Post #5


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.


You pass an object that supports the interface to override the way that uniqueness is compared.
i. Ex. You can pass an instance of a class that supports the IEQualityComparer interface when you construct a Hashtable to change the way keys are evaluated for uniqueness.
Value Structures – are typically the most efficient
InvalidCastException – is the recommended exception to throw when there is no valid conversion between two types, when implementing the IConvertible interface. .
Dequeue method - Of the Queue class does
i. Retrieve the item from the front of the collection
ii. As it retrieves an item, it also removes it from the collection


As always all comments welcome.

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

Catto

Interfaces, Inheritance, Constraints & Attributes MCTS 70-536 Microsoft .NET Certification Post #3

Interfaces, Inheritance, Constraints & Attributes MCTS 70-536
Microsoft .NET Certification
Post #3


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. There are many types in .NET and here are important terms with definitions.

Interfaces define a contract between types, ensuring that a class implements specific members
Inheritance derives a type from a base type, automatically implementing all members of the base class, while allowing the derived class to extend or override the existing functionality
Constraints – if you use constraints to require types to implement a specific interface you can call any methods used in the interface.
Attributes describe a type, method, or property in a way that can be programmatically queried using a technique called Reflection. Some common uses for attributes are specifying which security privileges a class requires, declaring capabilities, & describing an assembly.

As always all comments welcome.

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

Catto

Wednesday, November 5, 2008

Data Types - MCTS 70-536 Microsoft .NET Certification #2

Data Types - MCTS 70-536
Microsoft .NET Certification
Post #2


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. Data Types are very important. There are many types in .NET and here are some along with some details & examples.

• Delegates – Define the signature (arguments & return type) for the entry point
i. To Enable an assembly to respond to an event that occurs within a class
• Generic Types – include Nullable & EventHandler
• Reference Types – Include: Strings, Exceptions, delegate, interface.
• Value Types – include Integer, System.Drawing.Point, & Decimal, bool, char, double & long.
• Enumerator - is a type-safe to return a KeyValuePair
• Types Decimal, Double & float can each store fractional numbers
• Types int & Long can store integers
• Types uint & ulong are unsigned , & can only store zero & positive integers
• ushort type can only store values between 0 & 65,535

Question: The following types could store 1.29?

Answer: Float, double & decimal


Question: The following types could store -6?

Answer: int, double, decimal, float & long


As always all comments welcome.

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

Catto

Tuesday, November 4, 2008

MCTS 70-536 Microsoft Certification .NET 2.0

MCTS 70-536 Microsoft Certification .NET 2.0
Hey Now Everybody,

I’m going to start posting on some content I’ve been studying for a Microsoft Certification Technical Specialist Exam (MCTS) 70-536. I’ve created a page on my domain ChrisCatto.com where I’m going to have a summary & a bunch of links to all my posts.
I feel that this will be some great content & it will also help me to study by working more with the material. I’ve been sources I’ve been studying is from the self paced training book. I’ve been reading the book & there is also a cd that you get with the book. The cd includes ~400 practice questions that have been really good for me to learn from. They are broken down into 7 categories. I’ve created a word document that is over 70 pages from these questions. I plan to make many small posts so any one can read one post & learn a small topic or use it as a reference.
As always all comments welcome.
Bye for now!
Catto

Thursday, October 30, 2008

Browsers Links/Bookmarks Toolbar

Internet Browsers you may use Links/Bookmarks Toolbar

Browsers - Important Program!

Links/Bookmarks Toolbar (One click browsing)

201 - Folders in Links/Bookmarks Toolbar

Hey Now Everybody!

Internet browsers such as IE & Firefox is the most used computer program. We have many preferences & options that are available to use. One is the links toolbar in IE or bookmarks toolbar in most other browsers. The reasons to use a link/bookmarks toolbar is to increase productivity, efficiency & user friendliness.

To use the links/bookmark toolbar once set up all you have to do is to click a favorite URL & the page will be loaded. This is more efficient than typing in an address. It's one click less that clicking the favorites menu then a favorite. A links/bookmarkbar is usually located under the address bar.

A preference is to have the address bar on the top then the links bar under it, no other toolbars are used such as Google or Yahoo Toolbar.

Since IE is the most popular browser let's inspect how to set up our links bar. First the links bar has to be displayed. This can be checked by going to the view menu (alt + V), right arrow, down arrow to links then enter. The links menu should have a check on the left of the word. The toolbars may be locked (checked) or unlocked (unchecked). By default IE has the links bar on the right side of the browser, what can be done is to click hold & drag the word links to the left of the browser window to give the user the maximum amount of space to store favorites.

To save a webpage URL/Address you may click hold & drag the shortcut icon (icon to the left of the http in the address bar) to the links toolbar. There is a black vertical I that will show & when you see that you may stop holding the mouse button & the favorite shortcut will be saved.

Toolbars 201 - Use of Folders in links/bookmarks toolbar is very efficient. This allows users to have many more favorites located on the links/bookmarks toolbar. To create your first folder in the links bar one way is to start by saving a current page to your favorites (Cntl+D, tab, L, tab, enter). In the create in choose 'Links' Then click the 'New Folder' button. Type in a short name such as Biz, press enter (or click create) & click OK (on add to favorites window).

The length of the names on my links/bookmarks toolbar is usually 1 or 2 characters. You may rename them by right clicking then rename (IE). For example you may rename Google to G.

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

Catto

Sunday, September 28, 2008

Browsers & Google Chrome


Hey Now Everybody,


As you may or may not know Google released a new web browser called Chrome in early September. As soon as you see it you realize the different UX on the browser since the tabs are at the tippy top & not a menu bar or address bar. Web browsers such as Chrome & IE (internet explorer) are the single most used application therefore they are extremely important. Think for a quick second, you’re reading this in a browser & probably using IE7 (if it’s ~2008). For the average user (like my Mom) a browser may be the only program that they use aside from an Office app such as Word or Outlook. With that two important items regarding browsers to take with you are:

Bookmarks / Links toolbar (use the toolbar including folders)
A browser preference that you have the option to use is use the bookmarks or links bar. Within the bar you may use folders to create added efficiency & organization.

Browsers Memory Usage – (Minimize then maximize IE to save memory)
Temporary slowness can occur to browsers & can make our systems temporarily slow. This may occur when a browser gets to a page that uses a large amount of memory or many tabs open. We can take actions to free up memory & make a system / browser quicker again. I love & often use this next sentence. When IE is minimized then maximized again there is a great deal of memory freed. Browsers such as Chrome that are multithreaded has advantages too, each tab in Chrome is a separate process therefore when a tab gets closed the memory is then free again.
You’d never guess but I’ve made some more lists, of my opinions after UAT’ing (User Acceptance Testing) Google’s Chrome browser
K8’s Chrome’s Top N List:
1. Open Source - The code is open source with the WebKit rendering engine. Therefore people can contribute to the project which is a good thing. Google’s mindset is to learn from people on the web. An example is the TOS (Terms of Service). Google displayed actions very quickly to how they will accept feedback & learn from others. Initially there were quite a few negative posts on the TOS (Terms of Service). Section 11 was adjusted a few days after Chrome was release. Originally the section was a long, legal verbiage & stated basically that anything you did with the browser Google would have rights over, now the section is one simple sentence stating the individual has rights to all of their own content.
2. Omnibox – this is the name of the ‘address bar’ that Chrome uses. I really like this feature since it has intellisense when typing & it acts like a Google search. In the recent IE & Firefox browsers there is a search window on the top right (Ctrl+E) this makes two text boxes on the top of ht browser. The Omnibox is here to stay since it’s two for one (a search window & address bar) with intellisense.
3. New Tab Page – this feature is also here to stay. When opening a new tab (Ctrl+T) in a traditional browser the page opens a blank, info or home page. When opening a new tab in Chrome it shows the 9 most used pages as thumbnails, along with the most recent closed tabs & bookmarked pages. What this does is makes it easy to get to pages you frequent. It looks similar to the quick tabs view (Ctrl+Q) in IE.
4. Speed / Multi-Threaded / Memory Usage – The speed of the browser is supposed to be quicker than other browsers. I’m not sure on that & would love to see some technical tests. I do personally think that it runs JavaScript faster than other browsers. What I do really like is how the browser is Multi-Threaded, were each tab has its own process. This means a user can end the process for one tab & it won’t affect the other. Memory usage is interesting to me since there is a task manager with-in the browser itself which makes it easy to close a tab if it’s not responding & the other tabs will remain untouched. Please keep in mind IE8 beta 2 is multithreaded too.
5. Incognito mode (Ctrl+Shift+N) Browsers these days have this feature where a user can browse & not keep any data on the local system such as browsing history, cache & cookies. I use this feature when shopping for diamonds for my wife so if she looks @ the history she won’t know what pages I was on.
6. RSS – It’s re-dogone-diculous that Chrome doesn’t support RSS. This is the biggest area where Chrome can improve. I really feel that strongly about this one & sure it’ll be there someday. When on a page that has an RSS feed to subscribe to there is not an easy way to subscribe. IE7 had this option as a button (alt+J). Firefox does too & I think the UX will be similar to Firefox with an RSS image in the Omnibox.
7. Focus of buttons & textboxes - Similar to Safari since them both use Webkit I really like the feature when a button or a textbox has the focus it is highlighted & easy to see. Once you use this you won’t want to go back. Someday all browsers will use this feature. It wasn’t discussed much but I feel this is such a nice feature I had to mention it.


The Gears team from Google really produced a great browser. In time we’ll see if the community adopts it. One way we’ll be able to measure this is the amount of add-on’s are created by the community. If you look at Firefox there are a large number of add-ons which displays how much the community loves Firefox. The image is from the Chrome comic book displaying how Chrome is a safe browser & I thought it was so funny I added the image to the post. Everyone will not use chrome but the web is better with it.


As always all comments welcome. That’s all there is there is no more.


Bye for Now,


Catto