¡@

Home 

c# Programming Glossary: param

Encrypt/Decrypt string in .NET

http://stackoverflow.com/questions/202011/encrypt-decrypt-string-in-net

can be decrypted using DecryptStringAES . The sharedSecret parameters must match. summary param name plainText The text to encrypt... . The sharedSecret parameters must match. summary param name plainText The text to encrypt. param param name sharedSecret.. match. summary param name plainText The text to encrypt. param param name sharedSecret A password used to generate a key for..

How to read a text file reversely with iterator in C#

http://stackoverflow.com/questions/452902/how-to-read-a-text-file-reversely-with-iterator-in-c-sharp

UTF 8 is used to decode the stream into text. summary param name streamSource Data source param public ReverseLineReader.. into text. summary param name streamSource Data source param public ReverseLineReader Func Stream streamSource this streamSource.. UTF8 is used to decode the file into text. summary param name filename File to read from param public ReverseLineReader..

Deep cloning objects in C#

http://stackoverflow.com/questions/78536/deep-cloning-objects-in-c-sharp

summary Perform a deep Copy of the object. summary typeparam name T The type of object being copied. typeparam param name.. typeparam name T The type of object being copied. typeparam param name source The object instance to copy. param returns.. name T The type of object being copied. typeparam param name source The object instance to copy. param returns The copied..

Dynamically created SQL vs Parameters in SQL Server

http://stackoverflow.com/questions/1608522/dynamically-created-sql-vs-parameters-in-sql-server

created SQL vs Parameters in SQL Server If I were to select a row from a table I.. new SqlCommand select from table where primary_key @pk SqlParameter param new SqlParameter param.ParameterName @pk param.Value.. from table where primary_key @pk SqlParameter param new SqlParameter param.ParameterName @pk param.Value some_number_derived_from_a_dropdown_or_whatever..

How to post an array of complex objects with JSON, jQuery to ASP.NET MVC Controller?

http://stackoverflow.com/questions/320291/how-to-post-an-array-of-complex-objects-with-json-jquery-to-asp-net-mvc-control

action is decorated with an custom attribute JsonFilter Param widgets JsonDataType typeof List PageDesignWidget public JsonResult.. class JsonFilter ActionFilterAttribute public string Param get set public Type JsonDataType get set public override void.. inputContent JsonDataType filterContext.ActionParameters Param result JsonConvert.DeserializeObject is from Json.NET..

Name of the constructor arguments in c#

http://stackoverflow.com/questions/6606515/name-of-the-constructor-arguments-in-c-sharp

improve this question If you call ConstructorInfo.GetParameters then you will get back an array of ParameterInfo objects.. then you will get back an array of ParameterInfo objects which has a Name property containing the name.. A public A int iArg string strArg .... public void PrintParameters var ctors typeof A .GetConstructors assuming class A has..