Rewrite Some code from vb.net to c#
I have some code that i have wrote earlier in VB.NET

                Dim zippedLogFileName = f.FullName + ".gz"
            Try
                Using inputStream = f.OpenRead(),
                    zipFileStream = File.Create(zippedLogFileName),
                    compressionStream = New GZipStream(zipFileStream, CompressionMode.Compress)
                    inputStream.CopyTo(compressionStream)
                End Using
            Catch ex As IOException
            End Try

I am trying to learn c#. But can't rewrite it to c#.
Somebody who can help me?

                var zippedLogFileName = f.FullName + ".gz";
            try {
                using {
                    
                }
                

            catch IOException ex { }
            }
Rewrite Some code from vb.net to c#
===

I have some code that i have wrote earlier in VB.NET

                Dim zippedLogFileName = f.FullName + ".gz"
            Try
                Using inputStream = f.OpenRead(),
                    zipFileStream = File.Create(zippedLogFileName),
                    compressionStream = New GZipStream(zipFileStream, CompressionMode.Compress)
                    inputStream.CopyTo(compressionStream)
                End Using
            Catch ex As IOException
            End Try

I am trying to learn c#. But can't rewrite it to c#.
Somebody who can help me?

                var zippedLogFileName = f.FullName + ".gz";
            try {
                using {
                    
                }
                

            catch IOException ex { }
            }