conevrt list to pipe separated string csharp

Code Example - conevrt list to pipe separated string csharp

                
                        String.Join("|", new List<int> { 1, 2, 3, 4, 5 })