functional c# programming es1

1. Write a generic function that takes a string and parses it as a value of an enum. It should be usable as follows:

[login to view URL]<DayOfWeek>("Friday") // => Some([login to view URL]) [login to view URL]<DayOfWeek>("Freeday") // => None

2. Write a Lookup function that will take an IEnumerable and a predicate, and return the first element in the IEnumerable that matches the predicate, or None if no matching element is found. Write its signature in arrow notation:

bool isOdd(int i) => i % 2 == 1;

new List<int>().Lookup(isOdd) // => None

new List<int> { 1 }.Lookup(isOdd) // => Some(1)

3. Write a type Email that wraps an underlying string, enforcing that it’s in a valid format. Ensure that you include the following:

a. A smart constructor

b. Implicit conversion to string, so that it can easily be used with the typical API for sending emails

Квалификация: Архитектура ПО, .NET, Программирование на C#

Показать больше magento emails include global footer, android aspnet c programming mvc php, android aspnet c# programming mvc, php,, arm microcontroller c programming, basic c programming, best online jobs in dubai related with c programming, C # programming, c ++ programming, c c programming services, c c++ programming services, c or c programming, c or c++ programming, c programming c programming, c programming c, c programming c++ programming, c programming c++, c programming companiea, c programming courses, c programming questions and answers objective type, online learn c++ programming complete version in just 3 hours udemy

О работодателе:
( 9 отзыв(-а, -ов) ) Houston, United States

ID проекта: #22064381



An IT Based Company with experience of 5 years at your service WHY YOU SHOULD HIRE US ? 1)We are expert in Java, C++, C#, Python, Digital Marketing, Data Entry, Data Processing, Sql Data Processing, Web Scrapping. 2) Больше

$20 USD за 2 дней(-я)
(8 отзывов(-а))

3 фрилансеров(-а) в среднем готовы выполнить эту работу за $23


Hello, How are you? My pleasure to bid your project. I've read carefully your project description. I have more than five years experience in development related with your project. Your satisfaction with the project is Больше

$20 USD за 7 дней(-я)
(7 отзывов(-а))

Hello Sir. **************I can finish this job quickly .************** Hope to be chosen and I will give you good Result. Waiting you reply. Best regards.

$30 USD за 1 день
(14 отзывов(-а))