Posts

Azure Yaml

  This example runs three stages, one after another. The middle stage runs two jobs in parallel. stages: - stage: Build jobs: - job: BuildJob steps: - script: echo Building! - stage: Test jobs: - job: TestOnWindows steps: - script: echo Testing on Windows! - job: TestOnLinux steps: - script: echo Testing on Linux! - stage: Deploy jobs: - job: Deploy steps: - script: echo Deploying the code!

Solid Principles in C Sharp

C# Interview Questions

Image
This article summarizes the list of basic C# interview question which I came across during the interviews. This has helped me to crack the interviews. What are the different ways to pass parameters to a method in C#? There are 3 ways in which parameters can be passed to the method in C# Value Parameters:  A value is passed as a parameter to the method. Any change in the value of the method does not change the value of the argument. Reference Parameters:  This can be achieved by using the ref keyword. In this the value is not passed but the reference(pointer to the memory location) is passed to the method. Any change in the value of the method changes the value of the argument. Output Parameters:  Out parameter is used to return more then one value from the method. In this reference is passed to the out parameter. What is the difference between dynamic type variables and Object Type variables in C# The difference is basically in typ