public class MyStaticTest { static public int i = 100; } MessageBox.Show(MyStaticTest.i.ToString());>im new to c# . how do i delacare a global variables dat can be access by the whole application? because in Foxpro i used to declare global variable for my connection to remote database.tnx