What should you do?

You are an enterprise application developer. You are creating a component to process geospatial data. The component retrieves large sets of data from a Microsoft

SQL Server database. Each data point consists of two decimal values: one value represents longitude and the other value represents latitude. You need to design a data format that minimizes the managed heap memory allocation needed for each data point within the component.
What should you do?

You are an enterprise application developer. You are creating a component to process geospatial data. The component retrieves large sets of data from a Microsoft

SQL Server database. Each data point consists of two decimal values: one value represents longitude and the other value represents latitude. You need to design a data format that minimizes the managed heap memory allocation needed for each data point within the component.
What should you do?

A.
Design a custom class that contains private fields for the longitude and the latitude, and design
read-only public properties for the longitude and the latitude.

B.
Design an XML element that contains an attribute for each longitude value and each latitude value.

C.
Design an ADO.NET DataRow class that contains DataColumns for the longitude and latitude values.

D.
Design a custom Struct that contains a public field for the longitude value and a public field for the latitude value.



Leave a Reply 0

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