Презентации, доклады, проекты без категории

Rum girls
Rum girls
Портрет Rum girls Rum girl – красивая, общительная девушка. Она обладает артистическими навыками, пластична, готова к экспромтам и шоу. Rum girl хорошо осведомлена о мероприятиях и событиях в городе. Любит проводит время в ночных клубах, посещать концерты. Rum girl владеет актуальной информацией о современных трендах и может поддержать любую беседу. Rum girl умеет проводить публичные презентации. Rum girl, так же должна создавать и поддерживать хорошие взаимоотношения с персоналом HoReCa и управляющими индустрией развлечений.   Кастинг Rum girls Каналы поиска кандидатов: База моделей, промо-моделей агентства: + успешное сотрудничество с агентством на других проектах Интернет (сайты поиска работы – hh.ru; социальные сети – vk.com, facebook.com, fashionbank.ru) + большой охват аудитории Творческие ВУЗы: + творческие, общительные, активные люди Клубные мероприятия: + такие мероприятия посещают преимущественно люди из ЦА «Сарафанное радио» - друзья/знакомые: +большое количество претендентов являются знакомыми самих хостесс Рекомендуется использовать все ресурсы поиска хостесс, с целью подбора максимально разносторонних кандидатов.
Продолжить чтение
managing File system
managing File system
Managing the files For many applications a common requirement is the ability to interact with the file system: creation of new files copying files deleting files moving files from one directory to another The classes that are used to browse around the file system and perform the operations are File, FileInfo, Directory, DirectoryInfo, FileSystemInfo, Path FileSystemInfo – Base class that represents any file system object FileInfo and File – These classes represent a file on the file system DirectoryInfo and Directory – These classes represent a folder on the file system Path – contains static method that you can use to manipulate pathnames .Net Classes that represent Files and Folders Directory and File contain only static methods. You use these classes by supplying the path to the appropriate file system object. If you only want to do one operation on a folder or file then using these classes is more efficient, because it saves the overhead of instantiating a .NET class DirectoryInfo and FileInfo implement the same public methods as Directory and File, but the members of these classes are not static. You need to instantiate these classes before each instance is associated with a particular folder or file. This means that these classes are more efficient if you’re performing multiple operations using the same object, because they read in the authentication and other information for the appropriate file system object on construction, and then do not need to read that information again. string sourceFile = "..."; string destFile = "..."; bool overwrite = false; File.Copy(sourceFile, destFile, overwrite); string filePath = "..."; FileInfo file = new FileInfo(filePath); string destPath = "..."; file.CopyTo(destPath); //Copying fileFileInfo myF ile = new FileInfo(@”C:\ Program Files\ReadMe.tx t”);myFile.CopyTo(@”D:\Copies\ReadMe.txt”);
Продолжить чтение
Strings and regular expressions
Strings and regular expressions
What can we use ? 2. Formatting expressions — using a couple of useful interfaces, IFormatProvider and IFormattable, and by implementing these interfaces on our own classes, we can actually define our own formatting sequences, so we can display the values of our classes in whatever way we specify. There are two types of string: String and StringBuilder Building strings — If you’re performing repeated modifications on a string befor displaying it or passing it to some method, the String class can be very inefficient. For this kind of situation, another class, System.Text.StringBuilder is more suitable, since it has been designed exactly for this situation. 3. Regular expressions — .NET offers some classes that deal with the situation in which you need to identify or extract substrings that satisfy certain fairly sophisticated criteri. We can use some classes from System.Text.RegularExpressions, which are designed specifically to perform this kind of processing. System.String System.String is a class that is specifically designed to store a string, and allow a large number of operations on the string. Each string object is an immutable sequence of Unicode characters. IT means that methods that appear to change the string actually return a modified copy; the original string remains intact in memory until it is garbage-collected. 1. An object of type System.String is created and initialized to hold the text. The .NET runtime allocates just enough memory to hold this text (32 chars) 2. We create a new string instance, with just enough memory allocated to store the combined text (55 chars). The old String object is now unreferensed.
Продолжить чтение
СNet Attribute
СNet Attribute
Атрибуты Компилятор создает атрибуты, когда вы объявляете экземпляры специальных классов, наследующих от System.Attribute 1. Описания правил сериализации данных 2. Управления безопасностью на уровне сборки Атрибуты позволяют добавить к метаданным дополнительную информацию, которая затем может извлекаться при помощи механизма рефлексии.  Атрибуты используются для: 3. Облегчения отладки кода 4. Управления поведением компонент 5. Управления видимостью элементов управления и классов при разработке форм пользовательского интерфейса 6. Комментирования кода 7. … Применение атрибутов 1. Определяется новый или используется существующий в .Net Framework атрибут 2. Инициализируется конкретный экземпляр атрибута с помощью вызова конструктора атрибута 3. Атрибут помещается в метаданные при компиляции и становится доступен CLR 4. По соглашению имена всех атрибутов оканчиваются словом Attribute. System.ObsoleteAttribute Большинство атрибутов применяется к классам, методам, полям и свойствам Глобальные атрибуты – воздействуют на всю сборку или модуль Применение атрибутов на уровне классов и методов:
Продолжить чтение