15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

types – user-defined exception classes<br />

types. See CTS types; data types; generic types;<br />

reference types; value types<br />

TypeView example, 342–344<br />

u<br />

UAC (user account control), 1397, 1398, 1404–1406,<br />

1415<br />

administrative privileges <strong>and</strong>, 1404–1405<br />

shield icons <strong>and</strong>, 1405–1406<br />

uCreditCard, 970<br />

UDP (User Datagram Protocol), 660<br />

class for, 661<br />

ports, 1345<br />

TCP v., 660<br />

UdpClient class, 656, 661<br />

UDTClient/Program.cs, 964<br />

UDTs (user-defined types)<br />

from client-side code, 963–964<br />

creating, 958–963<br />

restriction for, 964<br />

with SQL Server, 963<br />

Uid attributes, 594, 596–597<br />

UIElement, 986, 999<br />

uint, 33<br />

casting<br />

float to uint, 175<br />

uint to float, 174<br />

UIPermission, 563<br />

ulong, 33<br />

unary operators, 156, 157, 172, 319<br />

unboxing, 108, 111, 161, 178–179<br />

unchecked operator. See checked/unchecked operators<br />

#undef, 55–56<br />

UnderlyingSystemType (System.Type), 341<br />

underscore<br />

fields <strong>and</strong>, 61, 73<br />

identifiers <strong>and</strong>, 58, 59<br />

joining names with, 60<br />

UnexpectedException, 363, 366, 367, 368<br />

unh<strong>and</strong>led exceptions, 360<br />

Unicode characters<br />

char <strong>and</strong>, 35<br />

identifiers <strong>and</strong>, 59<br />

strings <strong>and</strong>, 37<br />

System.Globalization <strong>and</strong>, 570<br />

Unicode-based formats, 794, 795, 797, 798<br />

Uniform Resource Identifiers. See URIs<br />

Uniform Resource Locators. See URLs<br />

UniformGrid, 1002<br />

Uninstall(), 679, 680, 683<br />

Union(), 276, 283, 879<br />

UnionAll(), 879<br />

UniqueConstraint, 842, 843<br />

universal unique ID (UUID), 703, 1363, 1364<br />

UNIX, 17, 59, 217<br />

unmanaged C++, 6, 11<br />

unmanaged resources<br />

freeing, 312–313<br />

working with, 307<br />

unmanaged types, 320<br />

unpinning/pinning windows, 394<br />

unsafe (safety level), 956<br />

unsafe code<br />

anonymous methods <strong>and</strong>, 197<br />

operators <strong>and</strong>, 152<br />

pointers <strong>and</strong>, 317–319. See also pointers<br />

unsafe keyword, 318–319<br />

Unspecified (isolation level), 625<br />

UPDATE, 819, 826, 830, 838, 850, 860, 971<br />

update constraints, 843–844<br />

UpdatePanel controls, 1222, 1229–1231<br />

UpdateProgress control, 1222, 1231<br />

UpdateRowSource, 832, 853<br />

updates (ADO.<strong>NET</strong> Entity Framework),<br />

879–884<br />

attaching/detaching entities, 882<br />

change information, 881–882<br />

object tracking, 880<br />

storing entity changes, 882–883<br />

Upgrade Wizard (Visual Studio 2010), 376<br />

UpgradeCode, 415<br />

UploadData(), 639<br />

UploadFile(), 639<br />

uploading files (with WebClient class), 639–640<br />

Uri class, 653–654<br />

UriBuilder class, 653–654<br />

URIs (Uniform Resource Identifiers)<br />

defined, 638<br />

utility classes <strong>and</strong>, 653–654<br />

URL operation routing, 1266–1267<br />

URL queries, to WCF Data Services, 893–894<br />

URLs (Uniform Resource Locators), 638<br />

usage conventions, 59–64. See also naming<br />

conventions<br />

user account control. See UAC<br />

user controls<br />

ASP.<strong>NET</strong>, 1155, 1186–1191<br />

Windows Forms, 1147<br />

User Datagram Protocol. See UDP<br />

user interaction, controls <strong>and</strong>, 1124<br />

user interface (ASP.<strong>NET</strong> AJAX Library layer), 1223<br />

User Interface editor, 423–424<br />

user interfaces, Windows Forms <strong>and</strong>, 21<br />

UserControl class, 996<br />

user-defined aggregates, 964–967, 980<br />

creating, 965–966<br />

using, 966–967<br />

user-defined casts, 172–182<br />

user-defined exception classes, 362–369<br />

1467<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!