No, it is not possible. You would need to create a method instead
More Related Contents:
- Is there a C# case insensitive equals operator?
- Is relying on && short-circuiting safe in .NET?
- What are the | and ^ operators used for? [duplicate]
- What’s wrong with using Thread.Abort()
- C# Interfaces. Implicit implementation versus Explicit implementation
- Using LINQ to remove elements from a List
- How to start a Process as administrator mode in C# [duplicate]
- Performance differences between debug and release builds
- How to detect Windows shutdown or logoff
- Clipboard.GetText returns null (empty string)
- How does inheritance work for Attributes?
- Don’t stop debugger at THAT exception when it’s thrown and caught
- How to remove new line characters from a string?
- BUG: Can’t choose dates on a DatePicker that fall outside a floating VSTO Add-In
- How do I copy the contents of a String to the clipboard in C#? [duplicate]
- OWIN’s GetExternalLoginInfoAsync Always Returns null
- C#: how to take a screenshot of a portion of screen
- How to keep single SQL Server connection instance open for multiple request in C#?
- ArgumentOutOfRangeException on initialized List
- Guidelines For Dispose() and Ninject
- How to check if a DLL file is registered?
- Hide some properties in PropertyGrid at run-time
- CryptographicException “Key not valid for use in specified state.” while trying to export RSAParameters of a X509 private key
- Using Reflection to create a DataTable from a Class?
- Are global static classes and methods bad?
- Starting a new thread in a foreach loop
- Storyboards can’t find ControlTemplate elements
- Intern string literals misunderstanding?
- EPPlus – LoadFromCollection – Text converted to number
- Message pump in .NET Windows service