জয়েন লগইন

সি# nested ফাংশন

🌈সি# nested ফাংশন কি?

📋সি# nested ফাংশন হলো নেস্টেড তৈরি করার পদ্ধতি।

⚒️সি# nested ফাংশন নেস্টেড তৈরি করতে ব্যবহৃত হয়।

সি# nested ফাংশন নেস্টেড তৈরি করার উদাহরণ।

csharp

using System;
namespace MyApplication {
  class Program {
    static void Main(string[] args) {

  static string Outer() {

    string Inner() {
      return "হ্যালো বিশ্ব";
    }

    return Inner();
  }

  Console.Write(
    Outer()
  );

    }
  }
}