Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hey, I wrote the code in Dev C++ but I want the same code to bewritten in C#. I

ID: 3614655 • Letter: H

Question

Hey, I wrote the code in Dev C++ but I want the same code to bewritten in C#. I copy pasted the C++ code will you be able toconvert that to C#? Please!!? Thank you.
#include <iostream> #include <string> using namespace std;
int main() {    string username, password;    // Get a username.    cout << "Enter a username :";    getline(cin, username);       // Get a password.    cout << "Ask for a password :";    getline(cin, password);       return 0; }
#include <iostream> #include <string> using namespace std;
int main() {    string username, password;    // Get a username.    cout << "Enter a username :";    getline(cin, username);       // Get a password.    cout << "Ask for a password :";    getline(cin, password);       return 0; } #include <iostream> #include <string> using namespace std;
int main() {    string username, password;    // Get a username.    cout << "Enter a username :";    getline(cin, username);       // Get a password.    cout << "Ask for a password :";    getline(cin, password);       return 0; }

Explanation / Answer

Dear User, using System; public class Globals {    public static int Main( ) {    cout<<”Enter a user name:”;//Get a username     getline( );    cout<<”Ask for apassword:”;    getline( );     return 0;   } } ITS HELPFUL TO YOU............ ITS HELPFUL TO YOU............