Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Indexer
- {
- class model
- {
- public String this[int index]{
- get { return MyArray[index]; }
- set { MyArray[index] = value; }
- }
- String[] MyArray = {"Touhid", "Shubho", "Anondo"};
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement