如何在C#中转换const char * const [英] how to convert const char* const in c#

查看:127
本文介绍了如何在C#中转换const char * const的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道c#中的以下指针..

const void * const
const char * const
无效* const
const char *
const wchar_t *
size_t * const

I want to know following pointers in c#..

const void *const
const char *const
void *const
const char *
const wchar_t *
size_t *const

推荐答案

C#不像C ++那样使用指针.请参见此处 [此处 [ ^ ].
C# does not use pointers in the way that C++ does; see here[^] for information on value types and reference types. For information on the const keyword see here[^].



这篇关于如何在C#中转换const char * const的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆