How to read a embedded resource to String in C# and VB.NET
To read a embedded resource to String in C# and VB.NET you can use the snippet below. Keep in mind that this snippet is using Encoding.Default which might not always…
All the Code Snippets and Samples you need
To read a embedded resource to String in C# and VB.NET you can use the snippet below. Keep in mind that this snippet is using Encoding.Default which might not always…
To load project references from a sub directory in C# and VB.NET you simply need to add the element to your app.config file. assemblyBinding: Contains information about assembly version redirection…
To get return Value from method invocation using reflection in C# and VB.NET you can use the snippet below. Sample C# Sample VB.NET For more informations on how to invoke…
To call a static method in different assembly using Reflection in C# and VB.NET you can use the snippet below. Sample C# Sample VB.NET
To call a static method in different assembly using Reflection in C# and VB.NET you can use the snippet below. Sample C# Sample VB.NET
Sample C# Sample VB.NET
If your code contains classes, interfaces or structs that have the internal (c#) access qualifier or the Friend (VB.NET) access qualifier, you cannot access them from another assembly (e.g. unit…
To read a embedded resource image in C# and VB.NET you can use the following snippet. Sample C# Sample VB.NET
This snippet will give you Assembly version info extension methods for C# and VB.NET. Sample C# Sample VB.NET
To get the Calling Assembly in C# or VB.NET you can use Reflection. Sample C# Sample VB.NET for more informations see the MSDN: Reflection (C# and Visual Basic), Assembly.GetCallingAssembly Method