C# 3.0 Cookbook

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Z]

P/Invoke method  

P/Invoke wrapper class  

parameters

       command line, parsing  

       exceptions for   2nd   3rd  

       out keyword for  

       verifying correctness of  

parentheses (( ))

       balanced  

       in equations  

Parse method  

       Enum class  

       Line structure  

       numeric types  

ParseCmdLine class  

ParsePath method  

ParsePathEnvironmentVariable method  

ParseUri method  

passwords, for user settings data   2nd  

Path class

       GetDirectoryName method  

       GetExtension method  

       GetFileName method  

       GetFileNameWithoutExtension method  

       GetPathRoot method  

       GetTempFileName method  

       GetTempPath method  

       InvalidPathChars field   2nd  

       PathSeparator field   2nd  

path name , regular expression pattern for  

paths

       parsing  

       parsing in environment variables  

       separator character for   2nd  

       using in file functions  

       verifying syntax and existence of  

PathSeparator field, Path class   2nd  

PathTooLongException exception  

patterns   [See design patterns regular expressions]

PauseAndCreateFile method  

Peek method, StreamReader class   2nd  

PeekChar method, BinaryReader class  

PeekHead method, DblQueue class  

PeekLargest method, PriorityQueue class  

PeekSmallest method, PriorityQueue class  

PeekTail method, DblQueue class  

percents, formatting strings as  

performance

       critical sections and  

       exception handling and   2nd   3rd  

       GetHashCode method used to test equality  

       observer design pattern and  

       regular expressions and  

       reversing arrays and  

performance counters

       averages calculated by  

       in .NET Framework  

       simple counters  

PerformanceCounter class   2nd  

permissions

        asserting safely  

       for assemblies  

       for reflections   2nd  

phone number, regular expression patterns for  

pipes, named  

Platform Invoke method   [See P/Invoke method]

PlatformNotSupportedException exception  

pluggable protocols, exceptions for  

pointers

       arrays of  

       comparing  

       controlling changes to when passed to methods  

       dangling  

       navigating arrays with  

       null, checking for  

       passing as out or ref parameter  

       passing by reference   2nd   3rd  

       passing by value   2nd  

       switching unknown pointer types  

       to an array element, returning  

       to an array of bytes  

       to fixed arrays, manipulating  

       to numeric data types, converting to strings  

       to unknown types, arrays of  

       unsafe code and  

       void   2nd   3rd  

PolicyException exception  

polymorphism

       foreach method and  

       implementing with abstract base class  

       implementing with concrete class  

       implementing with interfaces   2nd  

       interfaces implementing  

POST request, sending to web server  

Pow method, Math class  

preprocessor directives, allowing or preventing compilation using  

PreventLossOfException method   2nd  

Print method, BinaryTree class  

PrintDepthFirst method

       BinaryTreeNode class  

       NTreeNode class  

priority queue  

PriorityQueue class   2nd  

Process class

       Responding property  

       StartInfo property  

processes

       launching console utilities with  

       not responding, determining  

ProcessInvoice method  

ProcessStartInfo class  

profiling tools   2nd  

properties, parameters for, verifying correctness of  

protocol, pluggable, exceptions for  

proxy

       accessing Internet through  

       used for security  

proxy design pattern   2nd  

punctuation, determining if character is  

Pythagorean theorem  

Категории