Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Public static Global class doesn't work

Hi ! In my app android I used a static global class where I would store my data (for example an object IPModel with two proprerties -> IPaddress1, IPaddress2).
But when I started the program and debug them I sew that the IPs didn't store in my global object, in particular the debug return this description string of my Global class : Unknown identifier: Global
Anyone can help me ? Can I use the static property for this scope?
Thanks to those who will help me! :)


  • GiorgioSannaGiorgioSanna USMember ✭✭

    I solved ! There is a bug on a debugger of visual studio, because when I moved the class General.cs in the main of the solution all runned correctly !

Sign In or Register to comment.