B
Brandonoobo
Guest
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
String[] nouns = "Man Woman Animal World".Split(' ');
String[] adjs = "Funny Sleepy Boring Exciting".Split(' ');
var rand = new Random();
var noun = nouns[rand.Next(0, 3)];
var adj = adjs[rand.Next(0, 9)];
for (int i = 0; i < nouns.Length + adjs.Length; i++) ;
richTextBox1.AppendText(string.Join(" ", nouns, adjs));
Continue reading...
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
String[] nouns = "Man Woman Animal World".Split(' ');
String[] adjs = "Funny Sleepy Boring Exciting".Split(' ');
var rand = new Random();
var noun = nouns[rand.Next(0, 3)];
var adj = adjs[rand.Next(0, 9)];
for (int i = 0; i < nouns.Length + adjs.Length; i++) ;
richTextBox1.AppendText(string.Join(" ", nouns, adjs));
Continue reading...