Well this is propably a duplicate, but I don't know what they are called so I dont know what to search for..
I have a function encrypting a string and returning a byte array (byte[]).
Now I'd like the same function to return a string if required and other places I've used those sharp brackets to kinda tell the function what the output should be.
Like.
Security.Encrypt(data, "password") : returns byte[]
Security.Encrypt<string>(data, "password") : returns string
Now have I completely misunderstood the usage of those sharp brackets? What are they called? (then I might be able to google it myself) How do I access this eehm. modifier-thingey from my function?