PeteT
·
Oct 22, 2008
·
Viewed 274.8k times
·
Source
Is there a way to create an instance of a class based on the fact I know the name of the class at runtime. Basically I would have the name of the class in a string.
Let's say I have a Type called type.
I want to determine if I can do this with my type (without actually doing this to each type):
If type is System.Windows.Point then I could do this:
Point point1 = …
Canonical
How can I make an HTTP request and send some data using the POST method?
I can do a GET request, but I have no idea of how to make a POST request.