সি# nested
🌈সি# nested কি?
📋সি# nested হলো নেস্টেড স্ট্রাকচার তৈরি করার পদ্ধতি।
⚒️সি# nested নেস্টেড স্ট্রাকচার তৈরি করতে ব্যবহৃত হয়।
সি# nested নেস্টেড স্ট্রাকচার তৈরি করার উদাহরণ।
csharp
using System;
namespace MyApplication {
class Program {
static void Main(string[] args) {
var user = new Dictionary<string, object> {
["নাম"] = "মোঃ আরিফ",
["তথ্য"] = new Dictionary<string, string> {
["স্বপ্ন"] = "সফটওয়্যার ইঞ্জিনিয়ার",
["দেশ"] = "বাংলাদেশ"
}
};
Console.WriteLine(user);
}
}
}