daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using BindableLyoutEx.Models;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Text;
  6.  
  7. namespace BindableLyoutEx.ViewModels
  8. {
  9.  public   class PersonViewModel
  10.     {
  11.  
  12.        
  13.         public ObservableCollection<Person> MyCollector { get; set; }
  14.         public PersonViewModel()
  15.         {
  16.  
  17.  
  18.  
  19.             MyCollector = new ObservableCollection<Person>
  20.             {
  21.                 new Person(){Id=1,Name="Samir",Address="TulsipurDang"},
  22.  
  23.                 new Person(){Id=2,Name="Suresh",Address="TulsipurDang"},
  24.  
  25.             };
  26.  
  27.  
  28.         }
  29.  
  30.     }
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top