« Return to Thread: GStreamer C# bindings

Re: Mono Global Variables

by Piotr Budny-3 :: Rate this Message:

Reply to Author | View in Thread

Dnia sobota, 13 czerwca 2009, Aniello Di Nardo napisał:
> I've been to use global variables in Mono.
>
> For example: to store the MySql connection string and others global value
> elements.
>
> Somone can help me?

You can try Singleton.
BTW: be aware of using MySql connector with threads.

vip;

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

 « Return to Thread: GStreamer C# bindings