Busy. Please wait.
or

show password
Forgot Password?

Don't have an account?  Sign up 
or

Username is available taken
show password

why


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
Don't know
Know
remaining cards
Save
0:01
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
Retries:
restart all cards
share
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Chapter 16

String and Characters: A Deeper Look

TermDefinition
Character Constant A character that's represented as an integer value, called a character code
Unicode Character Set An international character set that contains many ore symbols and letters than does the ASCII character set. Character constants are established according to the Unicode character set
String Literals(String Constants) Sequences of characters in double quotation marks
Verbatim String It's possible to exclude escape sequences and interpret alll the characters in a string literally, using the @ character to create a verbatim string. Ex: string file = @"C:\MyFolder\MySubFolder\MyFile.txt";
1. CopyTo Method Copies a specified number of character from a string into a char array. First argument is index fro which method begins copying characters in a string. Second is character array into which characters are copied.
2. CopyTo Method Third is index specifying starting location at which method begins placing copied characters into character array. Last argument is number of characters that method will copy from string. Ex: string1.CopyTo(0, characterArray, 0, characterArray.Length)
Equals Method Used to compare strings to determine whether they are equal. Method returns true if the objects are equal and false otherwise. Ex: string1.Equals("hello");
struct C# provides a concept called a struct(short for "structure") that's similar to a class. structs represent value types.
Class ValueType Derives from class object. All struct types derive from this class
System.Char In the struct System.Char, which is the struct for characters, most methods are static, take at least one character argument and perform either a test or a manipulation on the character
Regular Expressions Specially formatted strings used to find patterns in text. They can be used to ensure that data is in a particular format
SaveFileDialog Objects Are used for selecting files
Modal Dialogs Dialogs that prevent the user from interacting with any other window in the program until the user closes the dialog
Created by: TimC#Programming