public IEnumerable GetMostTrendingSM()

in solution-documentation/api-get-method-summary/C#/VisualStudio/src/Controllers/SocialMediaStatsController.cs [22:32]


        public IEnumerable<Stat> GetMostTrendingSM()
        {
            return Enumerable.Range(1, 5).Select(index => new Stat
            {
                Site = SocialMedias[Random.Shared.Next(SocialMedias.Length)],
                OnlineUsers = Random.Shared.Next(0, 10000000),
                TotalUsers = Random.Shared.Next(1000, 10000000),
                IsDown = false
            })
            .ToArray();
        }