我怎麼知道是什麼如何計算C#代碼的複雜度?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace basic
{
class Hello
{
static void Main(string[] args)
{
Console.WriteLine("hello");
}
}
}
我想知道,什麼是上面給出的代碼的複雜性
根據什麼複雜度測量? –