![]() |
[استفسار] ترتيب مصفوفه بي لغة السي شارب <div>سلام عليكم ورحمة الله وبركاته اخواني لدي مصفوفه مرتبه حسب الحروف الابجديه للاسامي اريد ترتيبها حسب الدرجات من الاعلى للاقل <div style="margin:20px; margin-top:5px"> رمز Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace studentnames { class Program { static void Main(string[] args) { string[,] students = new string[,] {{"Ahmad","104315555","76"}, {"Ali","104318888","82"}, {"Fahad","104314444","95"}, {"Turkey","104312222","70"}}; Console.WriteLine("No.of the Elements (All) : {0}", students.Length); //12 Console.WriteLine("No.of the Elements (Row) : {0}", students.GetLength(0)); //14 Console.WriteLine("No.of the Elements (Coloumn) : {0}", students.GetLength(1)); //3 Console.WriteLine("=============================") ; for (int i=0;i |
الساعة الآن 09:31 PM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir