Question: I want answer for this question in C# language Problem 2: Email Validity Check You are given an input file mails.txt, which contains names of
I want answer for this question in C# language

Problem 2: Email Validity Check You are given an input file mails.txt, which contains names of users and their email addresses. Each line of the file looks like this: There is a requirement for email addresses can be a sequence of Latin letters (a-z, AZ) and underscore ( ), > is a sequence of lower Latin letters (a-z), and has a limit of 2 to 4 lower Latin letters (a-z). Finds the valid email addresses and writes them together with the names of the users (in the same format as in the input) to an output file valid-mails.txt. Sample input file (mails.txt): \begin{tabular}{|l|} \hline Steve Smith steven_smith@yahoo.com \\ Peter Miller pm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
