Which code segment should you use?

You are developing an application that includes a class named Customer and a generic list
of customers. The following code segment declares the list of customers:
List<Customer> customersList = new List<Customer> () ;
You populate the customersList object with several hundred Customer objects.
The application must display the data for five Customer objects at a time.
You need to create a method that will return the correct number of Customer objects.
Which code segment should you use?

You are developing an application that includes a class named Customer and a generic list
of customers. The following code segment declares the list of customers:
List<Customer> customersList = new List<Customer> () ;
You populate the customersList object with several hundred Customer objects.
The application must display the data for five Customer objects at a time.
You need to create a method that will return the correct number of Customer objects.
Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 7

Your email address will not be published. Required fields are marked *


AkarSh

AkarSh

Options not for the question.

Mr D

Mr D

Really ridiculous 🙂

Saikat

Saikat

please remove this from the list. Really bad!!!

zen

zen

mixed up LINQ and interface

hans dampf

hans dampf

See question 149. There are the correct answers to the same question

anii

anii

Oh, it’s the same as hans dampf said. Sorry