I am building a windows store app. So I thought it will be good to post this question in C# forum :)

I have send an object from class in this function as a parameter
to another function As follows..



private void ItemView_ItemClick(object sender, ItemClickEventArgs e)
        {
            this.Frame.Navigate(typeof(CategoryPage),e.ClickedItem);
        }




        public void clickeditem(ItemClickEventArgs Args)
        {
            function = Args.ClickedItem.ToString();
        }

I can't call this function in the constructor because of the parameter, that cannot be assigned in it. 

I am new to c#, so can any one help me please ?