کامروا
چهارشنبه 27 دی 1391, 11:22 صبح
سلام
معادل کدهای زیر در زبان دلفی به چه شکل هست؟
1- کد #C :
int[] test = { 2, 45, 3, 23, 23, 4, 2, 1, 1, 1, 1, 23, 45, 45, 45 };
int count = test.Count(i => i == test.Max());
2- کد #C :
public static void Initial()
{
//statements
}
و آیا Generic Array ها در دلفی دارای تابع Add برای اضافه کردن مقدار به آخر آرایه هستند؟
سپاس
معادل کدهای زیر در زبان دلفی به چه شکل هست؟
1- کد #C :
int[] test = { 2, 45, 3, 23, 23, 4, 2, 1, 1, 1, 1, 23, 45, 45, 45 };
int count = test.Count(i => i == test.Max());
2- کد #C :
public static void Initial()
{
//statements
}
و آیا Generic Array ها در دلفی دارای تابع Add برای اضافه کردن مقدار به آخر آرایه هستند؟
سپاس