최신e20-501덤프를 제공합니다.

우리 회사는 e20-501Q&A 덤프를 제공합니다 .e20-501은 고객에게 실제적인 시험을 반영하는 시험 문제들과 증명 된 답들을 제공 할 것입니다.

« Foundry Network자격증 Foundry-Network-Certifications FN0-240덤프(16~20)Microsoft자격증 MCPD 70-536덤프(6~10) »

Microsoft자격증MCPD 70-536덤프(1~5)

VUE/Prometric Code: 70-536

Exam: TS:MS.NET Framework 2.0-Application Develop Foundation

Ver:V4.38
Q&A:264 Q&As

업그레이트:2010-08-14

PDF (Printable Version)
Testing Engine (SoftWare Version) ( + $20.00 + $ 10.00)

무료덤프보기:

1.You are writing a custom dictionary. The custom-dictionary class is named MyDictionary. You need to
ensure that the dictionary is type safe. Which code segment should you use?
A. class MyDictionary : Dictionary<string, string>
B. class MyDictionary : HashTable
C. class MyDictionary : IDictionary
D. class MyDictionary { ... }
Dictionary<string, string> t = new Dictionary<string, string>();
MyDictionary dictionary = (MyDictionary)t;
Answer: A
2.You are creating a class named Age. You need to ensure that the Age class is written such that
collections of Age objects can be sorted. Which code segment should you use?
A. public class Age { public int Value;
public object CompareTo(object obj)
{ if (obj is Age)
{ Age _age = (Age) obj;
return Value.CompareTo(obj); }
throw new ArgumentException("object not an Age"); } }
B. public class Age {
public int Value;
public object CompareTo(int iValue) {
try {
return Value.CompareTo(iValue); }
catch {
throw new ArgumentException ("object not an Age"); } } }
C. public class Age : IComparable {
public int Value;
public int CompareTo(object obj)
{ if (obj is Age) {
Age _age = (Age) obj;
return Value.CompareTo(_age.Value); }
throw new ArgumentException("object not an Age"); } }
D. public class Age : IComparable {
public int Value;
public int CompareTo(object obj) {
try {
return Value.CompareTo(((Age) obj).Value); }
catch {
return -1; } } }
Answer: C
3.You are creating a class to compare a specially-formatted string. The default collation comparisons do
not apply. You need to implement the IComparable<string> interface. Which code segment should you
use?
A. public class Person : IComparable<string>{ public int CompareTo(string other){ ... }}
B. public class Person : IComparable<string>{ public int CompareTo(object other){ ... }}
C. public class Person : IComparable<string>{ public bool CompareTo(string other){ ... }}
D. public class Person : IComparable<string>{ public bool CompareTo(object other){ ... }}
Answer: A
4.You are developing a custom-collection class. You need to create a method in your class. You need to
ensure that the method you create in your class returns a type that is compatible with the Foreach
statement. Which criterion should the method meet?
A. The method must return a type of either IEnumerator or IEnumerable.
B. The method must return a type of IComparable.
C. The method must explicitly contain a collection.
D. The method must be the only iterator in the class.
Answer: A
5.You are developing an application to assist the user in conducting electronic surveys. The survey
consists of 25 true-or-false questions. You need to perform the following tasks: Initialize each answer to
true.Minimize the amount of memory used by each survey. Which storage option should you choose?
A. BitVector32 answers = new BitVector32(1);
B. BitVector32 answers = new BitVector32(-1);
C. BitArray answers = new BitArray (1);
D. BitArray answers = new BitArray(-1);
Answer: B

70-536덤프다운로드 바로가기http://www.killtest.kr/MCPD/70-536.asp

  • Articles related:

Post comment:

◎welcome to give out your point。

Calendar

Comments

Previous

Powered By Z-Blog 1.8 Arwen Build 81206

Copyright xxxx-xxxx Your WebSite. Some Rights Reserved.