get 24 hour time in csharp

Code Example - get 24 hour time in csharp

                
                        String s = curr.ToString("HH:mm");