Building a File Path with Path.Combine (.NET)(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4024) 4 years, 3 months ago

When using a variety of input methods to accept a file path and file name, the format of the results can vary. To avoid the problems of checking for path separator characters and adding or removing them as required, .NET provides a method to provide this.

1 comment |category: |Views: 10

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by eggseggs(0) 4 years, 2 months ago 0

I would think an article about Path would include the use of Path.DirectorySeparatorChar

Reply

information Login or create an account to comment on this story