Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE USE OBJECT ORIENTED PROGRAMMING IN C# USING MICROSOFT VISUAL. *****PLEASE USE C#(C SHARP)***** thanks it's really appreciated. Write a console app that inputs a

PLEASE USE OBJECT ORIENTED PROGRAMMING IN C# USING MICROSOFT VISUAL.

*****PLEASE USE C#(C SHARP)*****

thanks it's really appreciated.

image text in transcribed

Write a console app that inputs a sentence from the user (assume no punctuation), then determines and displays the nonduplicate words in alphabetical order. Treat uppercase and lowercase letters the same. [Hint You can use sting method Split with no arguments, as in sentence.Split(), to break a sentence into an aray of stings containing the individual words. By default, Split uses spaces as delimiters. Use string method ToLower in the select and orderby clauses of your LINQ query to obtain the lowercase version of each word] Your app should allow the user to repeat for next sentence, and "END" to end the app excution Write a console app that inserts 30 random letters into a List. Perform the following queries on the List and display your results: a) Use LINQ to sort the List in ascending order. b) Use LINQ to sort the List in descending order. c Display the List in ascending order with duplicates removed. Hint: Strings can be indexed like arays to access a character at a specific index ]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial And Temporal Databases 8th International Symposium Sstd 2003 Santorini Island Greece July 2003 Proceedings Lncs 2750

Authors: Thanasis Hadzilacos ,Yannis Manolopoulos ,John F. Roddick ,Yannis Theodoridis

2003rd Edition

3540405356, 978-3540405351

More Books

Students also viewed these Databases questions