Skip to content

Desi banjara

learn and grow together

  • Azure
    • Azure Compute
      • Azure Logic Apps
      • Azure Mobile Apps
      • Azure App Service
      • Azure Serverless Computing
        • Azure Functions
    • Azure Networking services
      • Azure Networking – VNET
    • Azure Database Services
      • Azure SQL
      • Azure Data Factory
      • Azure Databricks
    • Azure Analytics Services
    • Azure Security
      • Azure Identity and Access Management
      • Azure Active Directory
      • Azure Defender
      • Azure security tools for logging and monitoring
        • Azure Sentinel
        • Azure Sentinel – Data connectors
    • Azure Cognitive Services
    • Azure Data and Storage
    • Azure Devops
    • Azure landing zone
    • Azure IaaS
    • Azure Internet of Things (IoT)
      • Azure Machine Learning
      • Azure AI and ML services
    • Azure Migration
  • Agile Software development
    • Atlassian Jira
  • Amazon Web Services (AWS)
    • Amazon EC2
    • Amazon ECS
    • AWS Lambda
  • Google
    • Google Cloud Platform (GCP)
    • gmail api
    • Google Ads
    • Google AdSense
    • Google Analytics
    • Google Docs
    • Google Drive
    • Google Maps
    • Google search console
  • Software architecture
    • Service-oriented architecture (SOA)
    • Domain-Driven Design (DDD)
    • Microservices
    • Event-Driven Architecture
    • Command Query Responsibility Segregation (CQRS) Pattern
    • Layered Pattern
    • Model-View-Controller (MVC) Pattern
    • Hexagonal Architecture Pattern
    • Peer-to-Peer (P2P) pattern
    • Pipeline Pattern
  • Enterprise application architecture
  • IT/Software development
    • API development
    • ASP.Net MVC
    • ASP.NET Web API
    • C# development
    • RESTful APIs
  • Cybersecurity
    • Cross Site Scripting (XSS)
    • Reflected XSS
    • DOM-based XSS
    • Stored XSS attacks
    • Ransomware
    • cyber breaches
    • Static Application Security Testing (SAST)
  • Interview questions
    • Microsoft Azure Interview Questions
    • Amazon Web Services (AWS) Interview Questions
    • Agile Software development interview questions
    • C# interview questions with answers
    • Google analytics interview questions with answers
    • Javascript interview questions with answers
    • Python interview questions with answers
    • WordPress developer interview questions and answers
  • Cloud
    • Cloud computing
    • Infrastructure as a Service (IaaS)
    • Platform as a Service (PaaS)
    • Software as a Service (SaaS)
    • Microsoft Azure
      • Microsoft Azure Log Analytics
    • Zero Trust strategy
  • Toggle search form
  • How to enable cors in WebApi to handle request from different subdomains? ASP.NET Web API
  • Interview questions – Microsoft Excel Interview questions
  • Azure Synapse Analytics Azure
  • Command Query Responsibility Segregation (CQRS) Pattern Command Query Responsibility Segregation (CQRS) Pattern
  • Azure Storage services Azure Storage services
  • Interview question: In how many ways you can pass parameters to a method? C# development
  • SQL Server Interview questions Interview questions
  • Microsoft AZ-900 Certification Exam Practice Questions – 9 Microsoft AZ-900 Certification Exam

Interview question: What is the difference between ref and out parameters?

Posted on July 30, 2018 By DesiBanjara No Comments on Interview question: What is the difference between ref and out parameters?

Reference parameter (Ref parameter) copies the reference to the memory location of an argument into the formal parameter. This means that changes made to the parameter affect the argument.

Output parameters are similar to reference parameters, except that they transfer data out of the method rather than into it.

[amazon_link asins=’9351190900,9352136640,8120349172,007070368X,B076HG97KS,B019MQLUZG,B079R17XY2,B01N3BN5E8|1840787198,1484230175,1491987650,1491988533,B00IAGBTZQ,B01AWLB1PY,B00UNEHS44,B01N0AKAYE’ template=’ProductGrid’ store=’desibanjara22-21|desibanjaraco-21′ marketplace=’IN|UK’ link_id=’68ddef8e-93bc-11e8-92e5-1f0ecc2f4de5′]

C# development, Interview questions, IT/Software development Tags:C#, C# development, Interview questions, IT/Software development, Reference parameter

Post navigation

Previous Post: Interview question: Can you return multiple values from a function in C#?
Next Post: Interview question: Can we assign null value into value type variable?

Related Posts

  • ASP.Net MVC Interview Questions ASP.Net MVC
  • Interview question: What are the namespaces in C#.NET? C# development
  • Interview question: What is Jagged Array in C#? C# development
  • Asp.Net WebApi Interview Questions ASP.NET Web API
  • Interview question: Which class act as a base class for all the data types in .net? C# development
  • Interview question: What is the difference between dynamic type variables and object type variables? C# development

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Categories

  • Agile Software development
  • Amazon AWS Certification Exam
  • Amazon EC2
  • Amazon ECS
  • Amazon Web Services (AWS)
  • Apache Kafka
  • API development
  • Apple Mac
  • ASP.NET Core
  • ASP.Net MVC
  • ASP.NET Web API
  • Atlassian Jira
  • AWS DevOps Engineer Professional Exam
  • AWS Lambda
  • AZ-300: Microsoft Azure Architect Technologies Exam
  • Azure
  • Azure Active Directory
  • Azure AI and ML services
  • Azure Analytics Services
  • Azure App Service
  • Azure Cognitive Services
  • Azure Compute
  • Azure Container Instances (ACI)
  • Azure Core Services
  • Azure Data and Storage
  • Azure Data Factory
  • Azure Data Lake Storage
  • Azure Database Services
  • Azure Databricks
  • Azure Defender
  • Azure Devops
  • Azure Functions
  • Azure IaaS
  • Azure Identity and Access Management
  • Azure Internet of Things (IoT)
  • Azure Kubernetes Service (AKS)
  • Azure landing zone
  • Azure Logic Apps
  • Azure Machine Learning
  • Azure Machine Learning
  • Azure Migration
  • Azure Mobile Apps
  • Azure Networking – VNET
  • Azure Networking services
  • Azure Pricing and Support
  • Azure Security
  • Azure Security
  • Azure security tools for logging and monitoring
  • Azure Security, Privacy, Compliance, and Trust
  • Azure Sentinel
  • Azure Sentinel – Data connectors
  • Azure Serverless Computing
  • Azure SQL
  • Azure SQL Database
  • Azure Storage
  • Azure Storage services
  • Azure Stream Analytics
  • Azure Synapse Analytics
  • Azure Virtual Machine
  • Azure VNET
  • Business
  • C# development
  • C# interview questions with answers
  • ChatGPT
  • CI/CD pipeline
  • CISSP certification
  • Cloud
  • Cloud computing
  • Cloud Computing Concepts
  • Cloud services
  • COBIT
  • Command Query Responsibility Segregation (CQRS) Pattern
  • Content management system
  • Continuous Integration
  • conversational AI
  • Cross Site Scripting (XSS)
  • cyber breaches
  • Cybersecurity
  • Data Analysis
  • Database
  • DevOps
  • DevSecOps
  • DOM-based XSS
  • Domain-Driven Design (DDD)
  • Dynamic Application Security Testing (DAST)
  • Enterprise application architecture
  • Event-Driven Architecture
  • GIT
  • git
  • gmail api
  • Google
  • Google Ads
  • Google AdSense
  • Google Analytics
  • Google analytics interview questions with answers
  • Google Cloud Platform (GCP)
  • Google Docs
  • Google Drive
  • Google Maps
  • Google search console
  • Hexagonal Architecture Pattern
  • HTML
  • Information security
  • Infrastructure as a Service (IaaS)
  • Internet of Things (IoT)
  • Interview questions
  • IT governance
  • IT Infrastructure networking
  • IT/Software development
  • Javascript interview questions with answers
  • Layered Pattern
  • Leadership Quote
  • Life lessons
  • Low-code development platform
  • Microservices
  • Microservices
  • Microsoft
  • Microsoft 365 Defender
  • Microsoft AI-900 Certification Exam
  • Microsoft AZ-104 Certification Exam
  • Microsoft AZ-204 Certification Exam
  • Microsoft AZ-900 Certification Exam
  • Microsoft Azure
  • Microsoft Azure certifications
  • Microsoft Azure Log Analytics
  • Microsoft Cloud Adoption Framework
  • Microsoft Exam AZ-220
  • Microsoft Exam AZ-400
  • Microsoft Excel
  • Microsoft Office
  • Microsoft Teams
  • Microsoft word
  • Model-View-Controller (MVC) Pattern
  • Monitoring and analytics
  • NoSQL
  • OpenAI
  • OutSystems
  • Peer-to-Peer (P2P) pattern
  • Pipeline Pattern
  • PL-100: Microsoft Power Platform App Maker
  • PL-200: Microsoft Power Platform Functional Consultant Certification
  • PL-900: Microsoft Power Platform Fundamentals
  • Platform as a Service (PaaS)
  • postman
  • Postman
  • Project management
  • Python interview questions with answers
  • Ransomware
  • Reflected XSS
  • RESTful APIs
  • SC-100: Microsoft Cybersecurity Architect
  • Scrum Master Certification
  • Service-oriented architecture (SOA)
  • Software architecture
  • Software as a Service (SaaS)
  • SonarQube
  • Splunk
  • SQL
  • SQL Azure Table
  • SQL Server
  • Static Application Security Testing (SAST)
  • Stored XSS attacks
  • Table Storage
  • Test Driven Development (TDD)
  • Top technology trends for 2023
  • Uncategorized
  • User Experience (UX) design
  • Version control system
  • WCF (Windows Communication Foundation)
  • Web development
  • WordPress
  • WordPress developer interview questions and answers
  • Zero Trust strategy



Recent Posts

  • Azure Container Instances (ACI)
  • Azure Kubernetes Service (AKS)
  • Azure Identity and Access Management
  • Azure Analytics Services
  • Azure Storage services

Recent Comments

    • Famous Buddha Quotes on Life Life lessons
    • AWS DevOps Engineer Professional Exam Practice Questions – 14 AWS DevOps Engineer Professional Exam
    • Internet of Things (IoT) Internet of Things (IoT)
    • Infrastructure as Code (IaC) DevSecOps
    • Google Cloud Platform (GCP) Google Cloud Platform (GCP)
    • Agile with Atlassian Jira Atlassian Jira
    • Azure Services – Data and Storage Azure
    • Microsoft Exam AZ-400 Certification Exam Practice Questions – 1 Microsoft Exam AZ-400

    Copyright © 2023 Desi banjara.

    Powered by PressBook News WordPress theme