Monday 24 February 2014

3. Ryan, an app developer, has been assigned the

3. Ryan, an app developer, has been assigned the

Solution:

Select New
New Project
The New Project dialog box is displayed
Ensure that the Windows store node is selected under the visual C# node
Select Blank App(XAML)
ensure that the SolutionExplorer windows is open
Right-click the App1 folder
Select Add
Select Class
The Add New Item- App1 dialog box is displayed
Replace the existing text in the Name text box with App1
The App1.cs file is displayed

-----------------------------------------------------------------------------------------------
using system.Collections.objectModel;
namespace App1
{
     class NotesCollection
     {
      public sring ObservableCollection<Note> Note = new ObservableCollection<Note>
     }
     class Note
      {
       public string Title {get; set}
       public string Content {get; set}
       public Note(string Title, string Content)
       {
          this.Title = Title;
          this.Content = Content;
       }
      }
}
---------------------------------------------------------------------------------------------
Contract the Assets folder
Double-click the MailPage.XAML file

No comments:

Post a Comment