.


:




:

































 

 

 

 


. , .




, , . .

.

[< >] [static] <__> <_> ([<__>]) {<> [return<_>]};

.

:

private (, ) ( ).

public () .

protected () , .

static , , . , ().

.

.

, . , .

:

f(x) = ax2+bx+c

private double func (double a, double b, double c, double x) //

{

return a*Math.Pow(x, 2) + b*x + c;

}

func (3, 4, 5, 2); // . .

, , void .

:

private void func (string msg) {Console.WriteLine(msg);}

, .

:

< >([< >]);

, , . , .

< >.< >([<>]);

< >.< >([<>]);

.

1. out , ;

2. ref , .. . , , 2 ;

3. params . .

 

22. . String. , , .

23. . StringBuilder. , , .

24. . ArrayList, List<T>. , , .

25. . LinkedList<T>. , , .

26. .

27. . , , .

28. . , , (private, public, protected, internal), .

29. . . , .

30. : Label, Button, TextBox, CheckBox, RadioButton, GroupBox, ListBox, MainMenu, ContextMenu, Timer .

31. . , . .

32. . . .

33. . , , .

34. . . . . .

35. . , , .

36. . , , .

37. . , . .

38. . , .

39. (try, catch finally). , , .

40. . .

41. . : , , .

42. IDisposable. using Dispose().

43. (throw). , , .





:


: 2017-03-18; !; : 1109 |


:

:

.
==> ...

1968 - | 1849 -


© 2015-2024 lektsii.org - -

: 0.013 .