Please recode this… What is wrong with this? Sorry I’m from vb6

public class Stocks

{

 public string SName; public string SSite; public double SPrice; public float SIncrease; } 

private void button1_Click(object sender, EventArgs e)

{

 Stocks stk; stk.Sname = "tel"; MessageBox.Show(stk.SName); } 

by engrbugs via /r/csharp

Leave a Reply