Creating new method c# methodname(Variable) -
I found a method like this "It is possible to create a method like For example: And when I call the method: Then the value of I know this type of method is useless because you can set the value of the sample such as But I just want to do some experiment, thanks. I found some method This is a general method By specifying this is what you want: It is possible to make a method like "method method (variable) {} 'and it does so Is the method somewhere present? " No, what you are trying to do is not possible. ReadAsAsync & lt; T & gt; (This HttpContent content); in c # and I do not know what type of method and question popup on my head
'MethodName & lt; varible & gt; (variable) {} ' and is this method elsewhere? "
Public Zune Alias & lt; String getText> (string text) {getText = text; }
string sampleText; Legal name & lt; Sample text & gt; ("Hello World");
sampleText will be
"Hello World" .
string sampleText = "";
readAsAsync & lt; T & gt; (This HttpContent content); In C # and I do not know which type of method and question popup on my head
Foo results = wait for the response. the seminar. Readsink & lt; Foo & gt; (); You can read more about this on MSDN:
& lt; ... & gt; What is happening between a type , no variable
Comments
Post a Comment