I am confused with all the different escape mechanisms for the strings in C # What I want to do is avoid / unjacking method which can be used on any string 2) escape + unspace is guaranteed to return the initial string 3) with something else Changes all punctuation marks if he is too much to ask, at least the commas, braces, and @ I'm not spared from the vacant place, okay. 4) It is not possible to change anytime.
Is it present?
EDIT: This is for the purpose of seriliazing and deserializing for app-generated attributes, then my object may or may not be the value for attribute 1, attribute 2, attribute 3, etc. To simplify a little bit, the idea is to do something like the following: the goal should be to make the encoded collection short, more or less human-readable.
I'm asking which methods will be used for Escape and Unescapes.
Public Abstract Class GenericAttribute {const string key1 = "KEY1"; // It's OK to put some restrictions on keys, i.e. no punctuation conif string key2 = "KEY2"; Public abstract string encoded (); // Is there no restriction for returning from atomic public stationary generator, keypad (string key, string value) {switch (key) {case key1: return new concrete properties 1 (value); Case key2: Return new Concrete Attitude 2 (value); // etc}}} public class attribution collection {dictionary
I'm not sure what you're saying, but I believe that you have to escape for the escape person, even with the escape.
var content = "Hello"; Console.WriteLine (content); // Output: By joining it using \ "hello
@
, it can be said that it is different from your string
is. It is for server-side with C #, you only know for account of other languages and escape formats.
You can find some great information on running on C #:
No comments:
Post a Comment