Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Public get; set; not working "unknown member". Going crazy!

$
0
0

I cant seem to get my public gets and sets to be visible from a new object. The app compliles just fine, but when I try to view the property contents while running my app, I get "Unkown Member". Here is my class:

public class Test
{

    private string address = string.Empty;

    public string Address
    {
        get
        {
            return address; 
        }
        set
        {
            address = value; 
        }
    }


}

Screen shot attached of the error. Can someone tell me whats going on? Thanks!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>