Skip to content

Commit b2a6d9a

Browse files
committed
add new topic with feedbacks.
1 parent 95cf00f commit b2a6d9a

1 file changed

Lines changed: 48 additions & 2 deletions

File tree

data/c-sharp-cheat-sheet.json

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"id": "c-sharp-cheat-sheet",
2+
"id": "c-sharp",
33
"title": "সি-শার্প প্রোগ্রামিং",
4-
"slug": "c-sharp-cheat-sheet",
4+
"slug": "c-sharp",
55
"description": "সি-শার্প প্রোগ্রামিং",
66
"colorPref": "#1290FD",
77
"contents": [
@@ -65,6 +65,52 @@
6565
"code": "Math.Pow(x, y)"
6666
}
6767
]
68+
},{
69+
"title": "লিস্ট ক্লাস",
70+
"items": [
71+
{
72+
"definition": "ইন্টিজার টাইপের লিস্ট তৈরি করা",
73+
"code": "List<int> list = new List<int>();"
74+
},{
75+
"definition": "লিস্ট-এর উপাদান সংখ্যা",
76+
"code": "list.Count"
77+
},{
78+
"definition": "বর্তমান লিস্টের ধারণক্ষমতা",
79+
"code": "list.Capacity"
80+
},{
81+
"definition": "লিস্টে উপাদান যোগ করা",
82+
"code": "list.Add()"
83+
},{
84+
"definition": "লিস্টে idx ইন্ডেক্সে value উপাদান যোগ করা",
85+
"code": "list.Insert(idx, value)"
86+
},{
87+
"definition": "লিস্ট থেকে value উপাদান মুছে ফেলা",
88+
"code": "list.Remove(value)"
89+
},{
90+
"definition": "লিস্টে idx ইন্ডেক্সের উপাদান মুছে ফেলা",
91+
"code": "list.RemoveAt(idx)"
92+
}
93+
]
94+
},{
95+
"title": "ডিকশনারি ক্লাস",
96+
"items": [
97+
{
98+
"definition": "ডিকশনারি তৈরি করা",
99+
"code": "Dictionary<TKey,TValue> dict = new Dictionary<TKey,TValue>();"
100+
},{
101+
"definition": "ডিকশনারি-এর উপাদান সংখ্যা",
102+
"code": "dict.Count"
103+
},{
104+
"definition": "ডিকশনারিতে key এর উপস্থিতি যাচাই করা",
105+
"code": "dict.ContainsKey(key)"
106+
},{
107+
"definition": "ডিকশনারিতে key, value যুগলের উপস্থিতি যাচাই করা",
108+
"code": "dict.ContainsKey(ew KeyValuePair<int,string>(key, value))"
109+
},{
110+
"definition": "key এর ভিত্তিতে ডিকশনারি থেকে উপাদান মুছে ফেলা",
111+
"code": "dict.Remove(key)"
112+
}
113+
]
68114
}
69115
]
70116
}

0 commit comments

Comments
 (0)