سلام بر تمامی برنامه نویسان سی شارپ 😉 در این مطلب از وب سایت پروگرم 98 کد استفاده از Repeat برای 10 بار تولید کردن عدد 7 در #C را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد استفاده از Repeat برای 10 بار تولید کردن عدد 7 در #C :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MainClass {
public static void Main() {
var numbers = Enumerable.Repeat(7, 10);
foreach (var n in numbers) {
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MainClass {
public static void Main() {
var numbers = Enumerable.Repeat(7, 10);
foreach (var n in numbers) {