Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace AbuzeAccounts
- {
- public static class Texts
- {
- public static string[] namesArray = new string[]
- { "John", "Elthan", "Andrew", "Daniel", "William",
- "Tony", "Hannah", "Wayne", "Alex", "Arnold", "Ashley",
- "Michael", "Joshua", "Emma", "Olivia", "David", "Joseph",
- "Tyler", "Nathan", "Samuel", "Aexis", "Ella", "Julia",
- "Mia", "Noah", "Logan", "Ryan", "Anthony", "David"
- };
- private static string[] helloArray = new string[]
- {
- "Hi", "Hello", "Good morning", "Good afternoon",
- "Good evening", "Hi there", "Hello there", "Hey"
- };
- private static string[] pointsArray = new string[]
- {
- "!", "."
- };
- private static string[] howAreYouArray = new string[]
- {
- "How are you?", "How're you?",
- "How are you doing?", "How're you doing?",
- "What's up?", "How's it going?", "What's new?",
- "What's going on?", "How've you been?",
- "What's happening?", "What're you up to?",
- "Are you staying out of trouble?"
- };
- private static string[] emails = new string[]
- {
- @"baylorbelle10@gmail.com",
- @"nicolearreola@gmail.com",
- @"jwtachick@gmail.com",
- @"irehin@aol.com",
- @"gpg863@gmail.com",
- @"dominodave@gmail.com",
- @"mstringf@gmail.com",
- @"nennea@gmail.com",
- @"ez5000k@gmail.com"
- };
- public static string GetSendText(int friendsCount, string name)
- {
- string resultText = "";
- Random randHelloRand = new Random(),
- randPointsRand = new Random(),
- randHowRand = new Random(),
- existNameRand = new Random(),
- existHowRand = new Random();
- int numHello = randHelloRand.Next(helloArray.Length),
- numPoint = randPointsRand.Next(pointsArray.Length),
- numHow = randHowRand.Next(howAreYouArray.Length),
- existHow = existHowRand.Next(0, 2),
- existName = existNameRand.Next(0, 2),
- dollarsCount = 5 * friendsCount;
- bool isExistHow = existHow == 1 ? true : false,
- isExistMyName = existName == 1 ? true : false;
- resultText += helloArray[numHello] + pointsArray[numPoint];
- if (isExistMyName) resultText += " My name is " + name + pointsArray[numPoint];
- if (isExistHow) resultText += " " + howAreYouArray[numHow];
- resultText += "\n" + "I've invited " + friendsCount +
- " friends in a few past months, but after they received orders, I havent received " +
- dollarsCount + "$ for using my referral code. \nThere are their emails:";
- for (int i = 0; i < friendsCount; i++)
- resultText += "\n" + emails[i];
- return resultText;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement