Skip to main content

Posts

Unit -4 String in C#(Class 12)

 Unit -4 String in C# A string is an object of type String whose value is text.  Strings are used for storing text. A string variable contains a collection of characters surrounded by double quotes: There's no null-terminating character at the end of a C# string; therefore a C# string can contain any number of embedded null characters ('\0'). The Length property of a string represents the number of Char objects it contains. using System;   namespace CsharpString {     class Test {     public static void Main(string [] args) {       // create string       string str1 = "C# Programming";       string str2 = "Programing";       // print string       Console.WriteLine(str1);       Console.WriteLine(str2);       Console.ReadLine();     }   }  } Creating a String Object We can use the string keyword to declare a string variab...
Recent posts

Unit 5 SEP Class 12

  Software analysis and Design tools Software Analysis and Design Tools are special computer programs that help developers and designers in every stage of making software. These tools make it easier to understand, plan, design, and document a software system so that the final product works well and meets user needs. They help in collecting requirements by recording what users want, modeling the system using diagrams such as flowcharts and UML, and designing the structure and interface of the software. These tools also help in creating documentation for clear communication, analyzing the design to find and fix problems early, and supporting teamwork by allowing different people to work together on the same project smoothly. Introduction of ER Model The Entity-Relationship (ER) Model is a conceptual model used to design and represent the logical structure of a database . It shows entities, their attributes, and relationships among them. Example: A Student enr...