Lukket

Hash Dictionary Object Oriented Programming C#

Job Description:

### Hash dictionary

C# has a generic [Dictionary<K,V>]([login to view URL](v=vs.110).aspx) collection class that implements the [IDictionary<K,V>]([login to view URL](v=vs.110).aspx) interface. According to MSDN: "The Dictionary class provides a mapping from a set of keys to a set of values. Each addition to the dictionary consists of a value and its associated key". The focus of this assignment is the use of generics, and the understanding of interfaces and interface inheritance by implementing and using your own class(es).

This assignment consists of two parts:

### Part 1 - creating `HashDictionary<K,V>`

In this part you will create your own class that implements the [IDictionary<K,V>]([login to view URL](v=vs.110).aspx) interface. In order to implement the [IDictionary<K,V>]([login to view URL](v=vs.110).aspx) interface you must understand and implement the [ICollection<T>]([login to view URL](v=vs.110).aspx) interface, and the [IEnumerable<T>]([login to view URL](v=vs.110).aspx) interface. Implement the hashtable using some form of dynamic array or list and perform a linear search when looking for values

### Part 2 - creating classes for keys

In this part you will a class GeoLocation that represents a location on earth using latitudes and longitudes. Make all the necessary functions and operator overloads to make it possible to use this class as a key for the `HashDictionary<K,V>` class. In particular, ensure that hashing and equality is done using the latitude and longitude and not object identity.

### Steps

To complete this assignment follow the steps below.

1. Study the interfaces you have to implement, [IDictionary<K,V>]([login to view URL](v=vs.110).aspx) , KeyValuePair<K,V>, [ICollection<T>]([login to view URL](v=vs.110).aspx), [IEnumerable<T>]([login to view URL](v=vs.110).aspx), and [IEnumerator<T>]([login to view URL](v=vs.110).aspx).

2. Design your solution and discuss your solution with the assistants. The design is relatively straight forward this time, since it, to a large extent, is controlled by the demands of the interfaces.

3. Implement the assignment based on the design. Revise the design if needed - iteration may be necessary.

4. Make sure your solution passes `[login to view URL](d, 10000);` as this is what we do. We won't grade solutions that do not pass 10000 tests.

### Hints

- While [IEnumerator<T>]([login to view URL](v=vs.110).aspx) demands [IDisposable]([login to view URL](v=vs.110).aspx) it is ok to leave the `Dispose` method empty - we have not talked about disposing objects. If you are interested you can read about Destructors in the programming guide.

- The [Object]([login to view URL](v=vs.110).aspx) class provides a [GetHashCode]([login to view URL](v=vs.110).aspx) method.

- You will need to use the [KeyValuePair<K,V>]([login to view URL](v=vs.110).aspx) structure to be compatible with the [IDictionary<K,V>]([login to view URL](v=vs.110).aspx) interface.

Færdigheder: C# Programmering, Object Oriented Programming (OOP)

Om klienten:
( 0 bedømmelser ) Luleå, Sweden

Projekt ID: #36226658

15 freelancere byder i gennemsnit $139 timen for dette job

vladang

Hello... I can do it.

$140 USD in 3 dage
(171 bedømmelser)
6.8
kevins50

Hello, I'm an experienced C# programmer, this looks like a simple task. I can complete it for you following these instructions and specifications.

$30 USD in 2 dage
(31 bedømmelser)
5.9
urmate

Hi I have checked your project description. I have excellent programming and development skills. Contact me with all the details and requirements for your project for further discussion. I will provide you with dedica Flere

$100 USD in 2 dage
(63 bedømmelser)
5.3
ExpertSoul

Greetings, hope you are having a wonderful day. I'm reaching out to you because I just went through the project description that you are looking for Hash Dictionary Object Oriented Programming C#. Sure, we can get this Flere

$150 USD på 1 dag
(17 bedømmelser)
4.5
malkesh3m

⭐⭐⭐ Hi, My Availability: Immediate. I read your requirement of .NET Developer for Hash Dictionary Object Oriented Programming C# I am an experienced full stack .net developer with good problem-solving skills. Skill S Flere

$140 USD in 2 dage
(29 bedømmelser)
4.6
oyasniy

Hi, I would like to help you with your Hastable project. You can rely on me. I am an experienced developer and mathematician. Looking forward to hear from you. Best regards, Oleg

$250 USD in 7 dage
(9 bedømmelser)
3.4
CodingHelpLine

Hello Sir/Madam I have development experience in various Programming Languages, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, ETL and various frameworks. I assure Flere

$140 USD in 2 dage
(4 bedømmelser)
3.6
lmhunhthanh91

I have more than 10 years of experience working with PHP, CodeIgniter, Prestashop, Laravel, MySQL, PostgreSQL, API, HTML, Javascript, Node Js, Vue Js Css, Git, C#, TLV, QR Code, BarCode, SQL Server, Devexpress, and int Flere

$180 USD in 5 dage
(7 bedømmelser)
3.2
DragonGril0923

Hello sir I am a Senior Developer specialized in desktop application development having an experience of more than 8+ years. I am very excited to see your job posting as I am confident that I am a perfect fit for what Flere

$120 USD in 7 dage
(1 bedømmelse)
3.3
tundra1705

Hi, Thank you for posting this project, and I'm very happy to bid your project. I have read your description over. As a professional .NET & ASP.NET & C# developer, I have 5+ years of experiences. I have gone through t Flere

$140 USD in 7 dage
(0 bedømmelser)
0.0
JimmyJamesJD

I've reviewed your project description and I expect to submit the solution by the allotted time. I'm familiar with C#, .NET work and I'm confident in my ability to complete this task in a timely manner. please contact Flere

$111.11 USD in 3 dage
(0 bedømmelser)
0.0