qacqscqsc25 發表於 2013-1-21 10:40:38

新手來看

本帖最後由 qacqscqsc25 於 2013-1-21 10:48 編輯

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string text = "";

            for (int i = 1; i <= 19; i++)
            {
                text += "11 x" + i + " = " + 11 * i + "\r\n";
            }

            MessageBox.Show(text);
        }
    }
}




這個是C#乘法的代碼
希望對新手有幫助

qacqscqsc25 發表於 2013-1-21 10:41:02

我剛學C#而已--

qacqscqsc25 發表於 2013-1-21 12:43:28

對齁有神麼好的語言也可以給我媽我需要

0921018853 發表於 2013-1-21 15:06:58

qacqscqsc25 發表於 2013-1-21 21:58:13

7的計算機
頁: [1]
查看完整版本: 新手來看