Differentiate “Save”, “Insert”, “Insert & Stay” in ServiceNow

>’Save’ will save the changes made on the current record and remains on the form view of the current record. >’Insert’ will create a duplicate record of the current record and will take you back to the list view. >’Insert & Stay’ is similar to ‘Insert’ but it will bring you to the form view of the duplicate record created.

View More Differentiate “Save”, “Insert”, “Insert & Stay” in ServiceNow

Constructor Chaining in C sharp with program

using System; class employee { string message; public employee() { } public employee(string mess) { message = mess; } public void displayME() { Console.WriteLine(message); } } class manager:employee { string message; public manager() { } public manager(string m) :base(m) { message = m; } public void displayM() { Console.WriteLine(message); } public static void Main() { manager deepa = new manager(“leave for two days”); deepa.displayM(); deepa.displayME(); } } OUTPUT: leave for…

View More Constructor Chaining in C sharp with program

Program for abstract class using C sharp Dot net

using System; interface IPlay { string play(); } class hockey : IPlay { string IPlay.play() { return “yes ….hockey”; } } class cricket : IPlay { string IPlay.play() { return “cricket…”; } } class chess : IPlay { string IPlay.play() { return “chess”; } } class ui { public void PlayType(IPlay ptr) { Console.WriteLine(ptr.play()); } public static void Main() { ui obj = new ui(); obj.PlayType(new cricket()); obj.PlayType(new hockey()); obj.PlayType(new…

View More Program for abstract class using C sharp Dot net

Program for Hashtable in C Sharp

using System; using System.Collections; using System.Collections.Generic; class Employee {     public int EmpId;     public string EmpName;     public static void Main()     {        Hashtable AnyEmployee = new Hashtable();         AnyEmployee.Add(1, new Employee(){EmpId=101, EmpName = “Shubham”});         AnyEmployee.Add(2, new Employee(){EmpId=102, EmpName=”Ankit”});        Employee e = (Employee)AnyEmployee[2]; // FOUCS ON SYNTAX         /*If I put 1 in [] bracket,then it will print  Employee Id:101, Employee Name:Shubham*/…

View More Program for Hashtable in C Sharp

How to create a webpage using angular?

If any class is marked as component decorator, it is a web page. Just memorize that line. We will understand the actual meaning shortly. After successful installation of angular web development framework and site creation, go to your drive where you have installed it. For Example, C: or D: or any other drive. Follow this path: Drive>YourProjectName > src > app folder. You will see three files. They are: 1.…

View More How to create a webpage using angular?