string exactPath = Path.GetFullPath(yourRelativePath);
works
More Related Contents:
- Loading image from code using relative path in Windows Forms
- How to add one year to current year using DateTime [closed]
- What ‘additional configuration’ is necessary to reference a .NET 2.0 mixed mode assembly in a .NET 4.0 project?
- How does native implementation of ValueType.GetHashCode work?
- WPF chart controls [closed]
- How can I get the assembly file version
- How to check if file exists on FTP before FtpWebRequest
- Why are C# 4 optional parameters defined on interface not enforced on implementing class?
- Is there a way to return Anonymous Type from method?
- LINQ: combining join and group by
- How To Detect If Type is Another Generic Type
- Get List of Zero Reference Codes in Visual Studio
- “The LINQ expression node type ‘Invoke’ is not supported in LINQ to Entities” – stumped!
- Why use generic constraints in C#
- Pick Random String From Array
- Using a matrix to rotate rectangles individually
- Is String.Format as efficient as StringBuilder
- Sending SMS from an ASP.NET website [closed]
- How does WPF INotifyPropertyChanged work?
- TaskCreationOptions.LongRunning option and ThreadPool
- How to use the WebClient.DownloadDataAsync() method in this context?
- .NET Casting Generic List
- Creating a generic method in C#
- How to convert Bitmap to a Base64 string?
- Complex object and model binder ASP.NET MVC
- Could not load file or assembly ‘System.Windows.Interactivity’ [duplicate]
- Reverse IP Domain Check?
- How to construct WMI query
- Alternative for Obfuscation in the .NET world
- Why are Blazor lifecycle methods getting executed twice?