Free Essay



Submitted By Arshma
Words 276
Pages 2
Lab # 4
Coding : using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1
class A { public int multiply(int a,int b) { return a * b; } public double multiply(int a, double b) { return a * b; } public double multiply(double a, double b) { //1 argument type different OVERLOADING can be performed return a * b; } }//*********************************fraction************************************ #region fraction class fraction { int numerator, denominator; //field public void display() { Console.WriteLine(numerator + "/" + denominator); } public fraction() { numerator = 0; denominator = 1; } public fraction( int n, int d) { numerator = n; denominator = d; } public fraction(int n) { numerator = n; denominator = 1; } } #endregion //*********************************length************************************ #region length class length { int feet, inches; public void display() { if (inches >= 12) { feet = feet + (inches / 12); inches = inches % 12; } Console.WriteLine(feet + "'" + inches + "\""); } public length() { feet = 0; inches = 0; } public length(int f) { feet = f; inches = 0; } public length(int f,int i) { feet = f; inches = i; } #endregion }//*****************************property*************************** #region property class point { int x, y;

public int Y { get { return y; } set { y = value; } } public int X { get { return x; } set { x = value; } #endregion } class Program { static void Main(string[] args) { //A obj = new A(); //int res; //this method is called METHOD OVERLOADED //double result; //result = obj.multiply(10.5, 20.1); //res = obj.multiply(10, 20); //Console.WriteLine(result); //Console.WriteLine(res); //fraction f1 = new fraction(); //f1.display(); //fraction f2 = new fraction(5); //f2.display(); //fraction f3 = new fraction(3,4); //f3.display(); length l1 = new length(); l1.display(); length l2 = new length(8); l2.display(); length l3 = new length(5, 32); l3.display(); point p1 = new point(); p1.X = 15; Console.WriteLine(p1.X); } } }





Similar Documents

Premium Essay

History of Clothing

...for special occasions. Women Egyptian women wore full length straight dresses with one or two shoulder straps. During the New Kingdom period it became fashionable for dresses to be pleated or draped. The dresses worn by rich Egyptian women were made from fine transparent linen. Like the men, rich Egyptian women decorated their clothes and wore jewelry and headdresses. Middle Ages What you wore depended on who you were in the medieval period. If you were rich you would probably own a variety of clothes, in the latest styles and colors. If you were a poor peasant, you may only own one tunic. Although it was possible to obtain silks and other luxurious materials from abroad, they were very expensive. Most clothing therefore was made out of wool. This meant that clothing in the medieval period was itchy, difficult to wash and dry and very hot in the summer. Men Men mostly wore tunics down to their knees, though old men and monks wore their tunics down to the ground, and so did kings and noblemen for parties and ceremonies. Men sometimes also wore wool pants under their tunics. Wearing pants was originally a Germanic idea, and the Romans disapproved of it. But it gradually caught on anyway, especially among men who rode horses and in...

Words: 787 - Pages: 4

Premium Essay

Judged by Clothing

...Judged by Clothing A person is always judged by the clothing they wear. Have you ever felt as if you were underdressed or overdressed? If you have experienced this feeling, it gives you a sense of that you don’t belong. The way we dress is a big part of how society views or judges us. In a room full of people if you were to see everyone in a pair of jeans and a t-shirt, and there was one person that had on a fancy dress and nice shoes that person would automatically be the one that everyone looks at and will judge. Everyone has judged a person this way and will continue to do so, it’s just human nature. Sad but true. In this day and age we have several ways to judge a person by their appearance. If a young lady or man were wearing dark clothing, had lots of earrings and tattoos that person is gothic. A person wearing baggy jeans and long t-shirts and a certain brand of tennis shoes are perceived to be a person with less income or in today’s society ghetto. A person wearing a polo shirt and khaki pants with a pair of dress shoes are presumed to be a person that is rich or preppy. Getting a job may not be the easiest thing in the world if the person hiring you is judging you by the clothing you wear, this happens more than it should. Do you think that person wearing a black shirt that has a skull on it will get a job before a person with a button up polo shirt? Maybe he or she has the smarts, but because of that shirt, they probably will not be hired. The clothing we wear gives...

Words: 1270 - Pages: 6

Free Essay

Ready Made Clothing

...buying fabric and hand sewing. Outfits were very simple and often had to be sewn on or worn like what we call a robe, before the inventions of laces, buttons, or zippers. The process of making clothing used to be very meaningful, sometimes even sacred. Clothing took a lot of time and effort to make. In the middle ages almost every culture wore types of robes and tunics tied or pinned shut. These didn't take much time to assemble, the process of making the cloth was the important part. When the Renaissance began shape and design became more important. At this time is was very difficult to get dressed, people often had to be sewn into their clothing. Eventually, we began using laces but it was still very difficult to get dressed and undressed before the invention of zippers or buttons. This was the start to people taking a lot more pride in their attire. In the 17th and 18th centuries clothing were literally works of art. Articles of clothing commonly took many people and days to make. Crafters and tailors were very skilled, they hand crafted intricate scenes and put gems for decoration. These intricate designs were signs of the wearer’s wealth. In the 19th and 20th centuries fashion became much more practical. Because of political and social movements people traded their flashy clothing for a more conservative and simple look. More fitted styles were allowed by the use of buttons. Instead of volume, cloths were more naturally fitting and flowy....

Words: 519 - Pages: 3

Free Essay

Second Hand Clothing

...Preference of used clothing purchase among middle & upper income group of Karachi. Table of Contents 1 1 Introduction: 2 1.1 Purpose of the Study: 4 1.2 Scope of the Study: 4 1.3 Research Questions: 4 2 Literature Review 5 3 METHODOLOGY: 26 3.1 DATA: 26 3.2 SAMPLE & SAMPLING TECHNIQUE: 34 3.2.1 CONVENIENT SAMPLING: 34 3.2.2 PURPOSIVE SAMPLING: 34 4 CONCLUSIONS: 35 5 BIBLIOGRAPHY 36 1 Introduction: A second-hand or used good is one that is being purchased by or otherwise transferred to a second or later end user. A used good can also simply mean it is no longer in the same condition as it was when it was first transferred to the current end user. Used goods may be transferred informally between friends and family for free as "hand-me-downs" or they may be sold for a fraction of their original price at garage sales. Used clothing sector has grown into an important economic factor. It has clear consumer benefits. This is especially true in countries with low purchasing power, and for poorer consumers though it seems that almost all socio-economic groups are choosing to buy used clothing. Affordability is the key reason why people buy these goods. Fashion and consumer preferences also seem to be shifting towards western-style clothing. Many believe that clothes that are second hand are dirty. While this can be true in rare occasions, many times second hand clothing comes from clean homes and clean people who wash the clothes before they redistribute...

Words: 9244 - Pages: 37

Premium Essay

Clothing Report 2011 has this special report, which sources information for This Key Note Market Report examines the UK clothing retailing market, which comprises of women’s, men’s and children’s clothes, as well as clothing accessories. This Key Note Market Report examines the UK clothing retailing market, which comprises of women’s, men’s and children’s clothes, as well as clothing accessories. Consumer spending on clothing increased by 12.5% between 2006 and 2010, which was slightly below the rate at which overall consumer expenditure increased (12.9%). In 2010, it was estimated that the clothing retailing market was worth £41.9bn, which was the highest value seen over the review period. Key Note believes that supermarkets have increased their share of the clothing market, now accounting for around 25% of the total market. Supermarket retailers have witnessed a large increase in sales since the recession, as consumers became more cautious about unnecessary spending, and turn to cheaper alternatives available in the supermarkets. There has also been a decline in specialist companies operating within the clothing retailing industry, with figures from National Statistics indicating that, in 2010, there were 11,800 shops, compared to 12,700 in 2009; this represents a 7.1% decrease over the course of that year. This phenomenon is visible in many UK cities, where an increase in empty high-street shops is apparent. Many independent shops were forced to exit the market after the recession...

Words: 819 - Pages: 4

Premium Essay

Clothing In The Southern Colonies

...Clothing- Women- Long-length, loose shift which was worn as an undergarment. The sleeves were sometimes removable and could be tied on the shift was covered by petticoats Long gowns or skirts with a jacket were worn as the outer clothing Belts were sometimes worn Socks - long woollen stockings Plain leather shoes All clothes were held in place by tying them with laces An apron was usually worn over the women's clothes The women wore their hair long but it would have been deemed Unseemly for hair to be shown. Hair was therefore hidden under a close-fitting coif Coats or capes were worn as protection from the cold and the rain Mens- Long-length, loose linen shirts Breeches which were short length pants that were fastened at the knee Socks - long woolen...

Words: 632 - Pages: 3

Premium Essay

Globalisation of Clothing Industry in Sweden

...KARELIA UNIVERSITY OF APPLIED SCIENCES International Business Degree Program Swedish Clothing Industry Global Business Environment November 2013 Introduction The distance between people in the world is decreasing. In stores in Sweden we find goods from all corners of the world. We are intertwined in a world of mutual dependences and it is what we now call globalization. Economic globalization is a historic process and the result of human innovation and technological development. The economies in the world are integrating, particularly through trade and financial flows, but globalization can also involve movement of people and labor, as well as knowledge and technology across international borders. This means that countries can specialize and produce what they are best at. Countries across the world wills also have access to more capital, better technology, cheaper imports and major export markets. This does not mean that all countries have access to the benefits of globalization, in the poorest countries, the international community help with contributions. The question is that is globalization a treat or an opportunity? Some believe that the difference between the rich and poor countries only increased with globalization, while others argue that the difference in income or GDP between countries across the world has increased, but it is not the whole truth. Wider measurements of welfare that takes social conditions in the calculation shows those developing countries...

Words: 1826 - Pages: 8

Premium Essay

Strategic Analysis of Figure Clothing

...INTRODUCTION Figure Clothing is family-owned fashion house based in Manchester. Established over thirty years ago, the company currently employs fewer than 15 people. Figure Clothing origins were as a retail wholesaler selling and buying stock. The company transformed itself into a fashion house 4 years ago, with a vision to become a fashion house producing high quality women‟s fashion. The UK fashion industry is a multi-million pound industry with Manchester considered the main hub of UK fashion houses after London. Figure Clothing is a relatively small player in the industry with just over £4m turnover, with its core business in designing and manufacturing high fashion ladies‟ clothing and supply to most of the high street retailers and mail order companies in UK. All the designs are designed in their Manchester office and are produced in factories in India and China. Last year figure clothing vertically integrated and launched its new brand “frock & frill” to cater the needs of fashion minded/trendy women. Though Figure Clothing haven‟t invested any money for the marketing and advertising, the brand managed to get attention from major retailers, in itself a major achievement. A good business strategy should determine the core customer target (who), the product or service offering (what) and the effective execution of the strategy (how). Successful strategy requires effective strategy implementation, without which a good strategy can be rendered unproductive (Grant 2010,...

Words: 315 - Pages: 2

Premium Essay

Clothing During The Industrial Revolution

...Clothing throughout the many years has evolved from the very basic to were it is now, where people are no longer hand crafting clothes, everything is now done on the computer with software. Before the Industrial Revolution clothing was hand crafted, limited, and made simplily out of two pieces of cloth that were practically sewn on to the person. As the years progressed apparel made a turn just before the Civil War. Clothing was now ready-made and clothing manufacturers started to build factories. By the 21st centuries fashion and clothing has made a huge progression, as clothing is now mass produced and can be produced by computer softwares know as CAD. Therefore, clothing over the years has progressed and slowly became more comfortable, cheaper and much easier to produce in large quantities....

Words: 796 - Pages: 4

Premium Essay

What Are Native Americans Wear Their Clothing

...Men – Clothing usually consisted of a shirt, trimmed leggings with a belt and a long breechcloth and moccasins. Robes made from the furred hide of a bison were often worn in winter. Their hair was often worn into a pompadour which is often colored white with paint. They also wore their hair in two braids wrapped in the fur from beaver or otters. They also made their hair longer by weaving horsehair into it. Women – wore dresses made of deer and buffalo skins decorated with elk teeth or shells. They covered their legs with leggings during winter and their feet with moccasins. They also wore their hair in two braids. Chiefs- wore the long Indian war bonnets that plan Indians are famous for. They were hunters and protectors. the men...

Words: 352 - Pages: 2

Free Essay

Macro-Environmental Affecting the Clothing Industry

...Name Institution Date of submission Analysis of Macro-Environmental Factors Affecting the Clothing Industry Introduction Dick’s sporting Goods, Inc., is an American corporation in the sporting goods and retail industries with its headquarters in Coraopolis, Pennsylvania. By July 25th, 2011, Dick’s had 525 stores in 42 states primarily in the eastern half of the United States. The company also owns Golf Galaxy, Inc., a golf specialty retailer with 81 stores in 30 states. It was founded in 1948 and now has expanded to become one of the largest sporting goods retailers in the world. Under Armour Big Logo hoodie is one of the most popular hoodies on the market today. It comes in different type for men, women and boys and also available in bold colors and prints. This essay analyses the overall macro-environmental factors which affect the textile – apparel clothing industry. A number of macro-environmental factors affect the textile- apparel clothing industry. First are the consumer factors which include; cultures, norms, lifestyle and demographics. These factors affect the clothing industry in different ways. For instance, Under Armour Sporting Clothing and Accessories Company has made Big Logo Hoodie in styles that appeal to different cultures. On the contrary, clothing manufacturers and retailers avoid creating clothing items that fall outside the norms of society (Kwan, et al. 2003). Under Armour Big Logo Hoodie gives women a bold look and upgrades boy apparel...

Words: 659 - Pages: 3

Premium Essay

What Is A Suit In The 1920's Clothing? the trends of each decade, availability of materials, difference in cut, color, and fit, as well as the overall tailoring. Interviews with current businessmen and businesswomen were conducted to view the impact of wearing a suit has on their daily live both professionally and casually. The interviewees were also asked about how the suit affected their self-confidence and mental state as opposed to their casual clothing. The interviews consisted of different business practitioners ranging from bankers, stockbrokers, professors, engineers, and sales consultants. Interviews were also held to find discrepancies between male and female counterparts within different or similar branches of business. The interviews also held a great deal of importance to the history of suits and whether or not the interviewee would be able to identify with any of the changing eras in relation to their own dress. Focusing on the general history of suits through the past century to the present also invites insight into the influence of social, economic, and cultural aspects within the clothing style itself, as well as the change between gender styles and advancements. The suit originated in 1666 while King Charles II of England, following the lead of French king Louis XIV, demanded that men in court wear trousers, a long coat, a waistcoat, a wig, a cravat (a predecessor to the necktie), and a hat resulting in the evolution for the modern suit for men (Sullivan, 2015). In the Edwardian era of the early...

Words: 1391 - Pages: 6

Premium Essay

How Clothing Reflects Contemporary Society

...clearly through many means. Towering Renaissance architecture and Victorian Palaces, different political systems and rulers, food and language and literature, each period consists its own uniqueness. Clothing is no exception. From the toga of the Romans to the gown of Elizabethans, clothing reflects on the taste and style of the people in that particular era. It is of relatively absolute truth to acknowledge that dress is more than an object of concealment. The physical body when dressed gave intimation about the personality of its wearer and the surrounding society as well. For example, Romans royals wore purple while its citizens garb in simple garments like tunic. In Renaissance era, men and women of noble births would wear satin, velvet decorative dresses, while the peasants would only drape in cheap clothes. The disparity in apparel between noble people and poor people is a quintessence of reflection on social orders. During these periods that segregate people according to their ranks, clothing is affected by the segregation as well. However, as we move into Colonial Period, the idea of ranks begin to dissolve. Instead, clothing is more synonymous with a person’s occupation and religious affiliation. Now in our contemporary society, a society of complete freedom and equality, clothing plays more a key role in expressing personality. From the roaring twenties with flapper’s pinafores and cloche hats to the hippie’s long beaded necklace and sandals, fashion now emphasizes the...

Words: 595 - Pages: 3

Premium Essay

Cuban Fashion And Non-Traditional Cuban Clothing

...Cuban Fashion Traditional Cuban Clothing Due to hot, tropical weather in Cuba-usually around 60*F, casual and loose clothing is the daily attire for most people, with fabrics like cotton and linen, which are breathable and lightweight. Today, the average Cuban wardrobe consists of casual jeans or slacks, shorts, skirts(for females), and t-shirts or loose-fitting tops. Guayabera Shirt The guayabera shirt is an iconic symbol of Cuba, with a widespread use in the island. This garment is also referred to as the Havana shirt, Mexican wedding shirt, or cigar shirt. The guayabera consists of two-four front pockets and two groups of closely spaced pleats in the front and back. The top also has a dress-style collar and buttons, and is worn loosely...

Words: 345 - Pages: 2

Premium Essay

How Did Clothing Change Over Time

...Clothing Over Time During the time of the 17th and 18th centuries in the years 1600-1700, clothing style was fitted and difficult to wear. There were no standard measurements. The trend was individual style. Some of the garments were made with gemstones and they looked like works of art. French fashion was highly respected by many people. As stated by Tailoring’s author, “At the height of the century French fashion garments were truly works of art.” Clothing was complex. Many of the garments were embroidered. As stated by Tailoring’s author, “They took hours to complete and a sign of the wearer’s wealth. The relationship between the style of clothing and how it is created is that as clothing was so difficult to make, it could only be created by a tailor with excellent abilities and talent....

Words: 688 - Pages: 3