fork download
  1. Imports System
  2. Imports System.IO
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim x as String = "C:/abab/waeba/r"
  6. Dim y as String = "webera/g.fid"
  7. Console.WriteLine(Path.Combine(x, y))
  8. Console.WriteLine(Path.GetFileName(y))
  9. End Sub
  10. End Class
Success #stdin #stdout 0.01s 14580KB
stdin
Standard input is empty
stdout
C:/abab/waeba/r/webera/g.fid
g.fid