程序加载问题?
我看了一段代码:在class form之前加了一个class Stock如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Text;
using System.Windows.Forms;
namespace StockChat
{
public class Stock
{
public Color m_Color;
public string m_Ticker;
public float[] m_Price;
}
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
}
}
出现了一个错误,但又能运行不知怎么搞的?求教
!
但改回去了又没有错误,郁闷!