C# Program to Count File Extensions and Group it using LINQ (JNNC Technologies)


In this article, we will write a C# program to count file extensions and Group it using LINQ


Try it online in dotnetfiddle.

Output:

4 file(s) with txt Extension
2 file(s) with pdf Extension
1 File(s) with xml Extension

Post a Comment

0 Comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();